Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

UI5 dynamic table with editable column

$
0
0

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


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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