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

Re: Can anybody please let me know if we can able to use select index function in the xml view of a simple column-table? If not which is the best possible way to use the same?

$
0
0

this is how we define in XML view:

var selRowIndex = rowtable.indexOfItem(oSelectedItem)+1;

 

and for Binding the context as Kuntal Sarkar explained above:


var path= oEvent.getParameter('listItem').getBindingContext().getPath();

var selectedRow= this.byId('Table_ID').getModel().getProperty(path);


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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