Hello,
"selectRow " method right now accepts only row number. How can I find it if I know primary key value for that row? Basically, I want to select row by its primary key value.
Hi adogg,
You should use igGrid method findRecordByKey.
Here is the example code:
var record = $(".selector").igGrid("findRecordByKey", 4);
In order for this method to work primaryKey option of the grid should be set.
Hope this helps,
Martin Pavlov
Infragistics, Inc.
Martin, that worked. But then, how can I get row index to pass to 'selectRow' method?