on 02-13-2018 12:17 PM
Hi,
i am using sap.ui.table.
i want to get the values of the row when selected or deselected.
i am usign mode as "MultiSelect".
currently i am using "rowSelectionChange". from that i will use the oEvent.getParameter("id"), using this i will get the table id. and from that i will use getSelectedIndices() or getSelectedIndex(). but this doesn't return the index on deselect of row..
when i was searching for alternative i found the below below data...
in that i have
1. rowindex
2.rowIndices
can someone please tell me how to use this and get the index of selected or deselected row in the table.
Hi Chandresh,
try below code:
rowSelectionChange: function(oEvent){
var oRowIndex = oEvent.getParameters().rowIndex;
alert(oRowIndex);
var oRowIndices = oEvent.getParameters().rowIndices;
alert(oRowIndices);
}
Thanks,
Prachi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.