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
});
},
<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