Hi Tridwip,
For getting the index of selected row you can do like this on click event.
function : selectFun(oEvent){ var sPath = oEvent.getSource().getBindingContext("modelName").getPath(); //From this path you can use split() function and get the index // Get selected row object var oSelRow = oEvent.getSource().getBindingContext("modelName").getObject(); }
Add comment