Skip to Content
Apr 20, 2017 at 04:38 AM

Get sap.m.table row index depending on cell's search help selection



I am using sap.m.table and have bound it to a template on edit button click. When user selects a specific cell, a search help ( manual entry is blocked) is opened [ values : A , B , C] and if he chooses "A", then value of cell changes to A on handleValueHelpClose function but I want to know the row of table that has been affected due to this value. Since it is a dynamic table, I know the cell id (oEvent.getSource().getId()) but how can I get the table row index ? Also I need to disable other columns of row if value is "A". What is the piece of code that can help me achieve this ?