Getting row Index instead of key in selected event in my Multi select table when sorting column
Hi All,
I have a SDP based table on which multi select option is available.
In my sdp variable I have selected key attribute.
So When I am selecting a row using checkbox, I am getting Key in console also for the selected as which I have selected in my SDP variable. As show in below screenshot, I am getting selected row key in 0,1,2 index of array.
But When I am clicking on table sort icon to sort the row( the up/down icon), the I started getting index of the selected row in the array.
As shown in above screenshot, at index 3 and 4 I am getting selected row index instead key of row after clicking of table column sort icon.
Tagged:
0