Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Simple Control Container Problem

$
0
0

Hi All

I have use simple control container (Creating a Simple Container Control - SAPUI5 Developer Guide for SAP HANA - SAP Library)

instead of ColorBoxContainer I renamed it to "SimpleControlContainer", also removed unwanted code for color boxes css.

 

 

With this I am able to add controls to column template property.

as,

 

oColumn = new sap.ui.table.Column({

  label: new sap.ui.commons.Label({text: "Tactic Type"}),

  template: new SimpleControlContainer({

                    content:[new sap.ui.commons.Label({text:"firstName"}),

                                        new sap.ui.commons.Label({text:"{lastName}"})

                              ]

                    }),

  sortProperty: "type"

  })

 

It work fine and render properly.

 

but When I use same control("SimpleControlContainer") in other view in same page it not rendering UI. Also there is no javascript error.

I have no clue why view is not rendered. but when I remove control it render with other view in which that control is used.


Viewing all articles
Browse latest Browse all 8124

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>