:: Forum >>

How to get index of selected row


i am using below code for getting selected row in Grid.

var i = obj.getCurrentRow();

it works fine. But by default it returns 1st row always if i didn't select any row.
Monday, May 25, 2015
The getCurrentRow() method returns current (active row). You should use getSelected Rows() instead.

var indexes = obj.getSelectedRows();

Alex (ActiveWidgets)
Monday, May 25, 2015

This topic is archived.

Back to support forum

Forum search