Skip to Content
0
Jul 15, 2013 at 07:47 AM

problem with table

25 Views

I found that the label of one column can not be changed by an event handler.

Is that true?

and second:

I want to add an DropDownBox to the table, and the ListItem is changed by different condition:

for example, the position list is different to each employee, so how to implement this?

oTable.addColumn(new sap.ui.table.Column({

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

template:new sap.ui.commons.TextView().bindProperty("text","posName"),

//sortProperty: "checked", {selectedKey:"{posId}"} //{items:ddd001.getItems()

//filterProperty: "checked",

width: "90px",

hAlign: "Center"

}));

Thanks