:: Forum >>

How to get the currently selected row number

How does one get the number of the currently selected row. Can't use getSelectionProperty( "index" ) this does not work after sorting. I want to be able to click on the second row from the top and always get a 1 or 2 (depending on 0 based or not) without regard to sort order.

I love this grid, but the lack of proper documentation combined with the unusual way it is built make it a bear to master!!!!!

Friday, September 9, 2005
Figured it out

var iIndex = this.getSDelectionProperty("index");
var iOrder = this.getRowProperty( "order", oIndex );

iOrder is the display row currently selected
zero based

Sunday, September 11, 2005

This topic is archived.

Back to support forum

Forum search