Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Set Custom layout for row aggregation in m.table

$
0
0

Hello Experts,

I created a "m.table" with aggregation for "Valut Date". It works, but I want change layout in the aggregation's line for example I want set a "bold" characters or set a different background color.

Following my code:

// create table       
        var oTable = new sap.m.Table ("id_tableLayout");
        oTable.addColumn(oColId);
        oTable.addColumn(oColValut);
        oTable.addColumn(oColPrice);

 

 

// generazione tabella globale

        this._oTable = oTable;       
    //Bind model to Table Control
    oTable.setModel(oModel);
    oTable.bindAggregation("items","/ProductCollection",oTableItems,null);
    oSorter = new sap.ui.model.Sorter("Valut", false, true); // sort descending
    oTable.getBinding("items").sort(oSorter);

 

How can set the custom layout for the aggregation's line?

Thanks in advance.

Best Regards

Marino


Viewing all articles
Browse latest Browse all 3354

Trending Articles



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