Wednesday, 30 December 2015

how to get the click option for the list item or Table row in sapUi5 ?

in the columnList make sure that the type and the press

<ColumnListItem id="list"  type="Navigation"
  press="handleLineItemPress" >


in js file



handleLineItemPress : function(oEvent) {

sap.m.MessageToast.show("hello   data   "
+ oEvent.getSource().getCells()[1].getText(), {
duration : 3000
});

},

No comments:

Post a Comment