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

Re: how to get the values of selected row from sap.m.table?

$
0
0

Hi Venkathesh,

 

for mTable I think this way it will work.

 

in the  controller onSelection function you can go like this.

 

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

 

now you can use this path reference to locate any particular property values in your table model.

 

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

 

now as per your question to access the property "Status" just you need to do this..

 

selectedRow.Status



Hope it will help !!

 

 

Regard,

 

Kuntal Sarkar


Viewing all articles
Browse latest Browse all 4841

Trending Articles



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