3.2.0

How to get the number of the selected row? (grid v2.0b4)

Hi,

How do I get the number of the selected row? I want to use this row number in another function: the tabs-function. Besides that I want to deselect the selected row when I select another tab. Can you help me please? Thanks in advance!

Laurens
Laurens
February 1,
Try sthg like

obj.setSelectedRows([0,2]);
var selectedLine = obj.getSelectedRows();
alert(selectedLine[0]); //Will output '0'
alert(selectedLine[1]); //Will output '2'
grangreg
February 1,
Thanks a lot! It works!
Laurens
February 1,
course it works!
grangreg
February 2,

This topic is archived.

See also:


Back to support forum