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