Hi Chiranjeevi,
To fetch the index from ID :
var oID = oControlEvent.getParameter("id");
var oIndex = parseInt(oID.slice(-1));It is more efficient way to do with model concept as Vaibhav suggested.
var oListItem = oControlEvent.getParameter("listItem");
var oContext = oListItem.getBindingContext().getObject(); //This will fetch you all details related to list item selected.Regards,
Sai Vellanki.