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

Re: How do I get and set the index of a Column in an sap.m.Table?

$
0
0

Hi Sai,

I have a smart table in which i have an sap.m.Table with all rows defined with custom data.

I am implementing a variant kind of a feature for the smart table. (It is not a Fiori application). So I need to store the visible columns and their indices in order to retrieve them and apply them later.
Right now if I have columns A,B,C,D,E in the view. and at runtime I select C,B,A in that order, when I retrieve oTable.getColumns() it gives me [A,B,C,D,E] with their correct visible property but there is no way for me to get the indices i.e. C=0,B=1,A=2


Viewing all articles
Browse latest Browse all 2806

Trending Articles



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