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

Re: how to select a table based on a button event

$
0
0

Hi Kishore,

 

Add the press event handler for your button as below,

 

new sap.ui.commons.Button({press:function(oEvent){

  oTable.setSelectedIndex(oEvent.getSource().getParent().getIndex());

}});

 

Refer to this snippet http://jsbin.com/kikubupa/1/edit

 

regards

sakthi


Viewing all articles
Browse latest Browse all 9990

Trending Articles



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