Hi,
Check this blog . It will sort it out for you.
In addition, out of the SDK of class sap.ui.table.Column under aggregations - template(I bolded the interesting part):
Template (cell renderer) of this column. A template is decoupled from the column. Each time the template's properties or aggregations have been changed, the template has to be applied again viasetTemplate
for the changes to take effect. If a string is defined, a default text control will be created with its text property bound to the value of the string. The default template depends on the libraries loaded. If there is no template, the column will not be rendered in the table.
hi Dfive,
it is clear that label will be undefined. It is not assigned with any value. Please check your code.
is oColumnObj.columnKey correct?
here is simple example to achieve what you have in mind
Add comment