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

Re: Mouseover on table rows

$
0
0

As a matter of fact, I've found a way using jQuery.mouseover(), but it seems way too complicated:

 

$(".sapUiTableTr").mouseover(function() {

          var id = this.id;

          var index = sap.ui.getCore().byId(id).getIndex();

          var path = oTable.getBinding().getContexts()[index].getPath();

          var data = oTable.getModel().getProperty(path);

          jQuery.sap.log.info("row mouseover " + data.title);

}

 

Is there a simpler way?

 

-- Micha


Viewing all articles
Browse latest Browse all 8704

Trending Articles



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