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.