I can get a selected row like this :
var
row = $(
'.selector'
).igGrid(
'selectedRow'
);
hey,
The row object has an index property which will give you the index of the selected row in the current data view. You can retrieve the data object easily with the following code:
$('.selector').data('igGrid').dataSource.dataView()[row.index];
Hope it helps. Thanks,
Angel
really help :) thx
Hi ,
Is there a way to get the row index based on the primary key? Please advice.
Thanks!!!