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

Re: mobile replacement for sap.ui.table.Table?

$
0
0

Hi,

 

As Mentioned in above posts, did you try sap.m.Table API

 

 

reference code.

 

 

var aControls = [];

var tab = new sap.m.Table("TAB",{

   columns:[new sap.m.Column({header: new sap.m.Label({text:"ID"})}),

                                                  new sap.m.Column({header: new sap.m.Label({text:"Name"})}),

                                                  new sap.m.Column({header: new sap.m.Label({text:"City"})})],

      items  :[new sap.m.ColumnListItem({cells:[new sap.m.Label({text:"01"}),

                                                                    new sap.m.Label({text:"ABC"}),

                                                                    new sap.m.Label({text:"ABC"})]}),

                  new sap.m.ColumnListItem({cells:[new sap.m.Label({text:"01"}),

                                                                    new sap.m.Label({text:"ABC"}),

                                                                    new sap.m.Label({text:"ABC"})]}),

],

});

aControls.push(tab);

return aControls;

 

 

Regards,

Madhumahesh.


Viewing all articles
Browse latest Browse all 8497

Trending Articles



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