Dear Experts,
I m working on UI5 grid in MII 14.0.
I have achieved dynamic table creation using following code:
oTable.setModel(oModel);
oTable.bindColumns("/columns", function(index, context) {
var sColumnId = context.getObject().columnId;
return new sap.ui.table.Column({
id : sColumnId,
label: sColumnId,
template: sColumnId,
sortProperty: sColumnId,
filterProperty: sColumnId
});
});
oTable.bindRows("/rows");
oTable.placeAt("content");
Now i want to achieve some functionality like
1) Specfic column should be editable for which i need to set template dynamically.
2) Hard wrap option for adjusting visibility of data in row.
Can you please help me on this.
Thank you in advance.
Regards,
Neha