:: Forum >>
Get the row number when clicked on the row.
Hi,
I have implemented your grid control in my jsp file. It works well.
I just want to do some modifications to work properly so that i can go ahead and implement.
I want to retrieve the row number when i click on the particular row. So that when the user refresh the page, the selected row should be displayed in the viewable area.
Can any one tell me how to get the row number and display the same row in the viewable are after refreshing the page.
Thanks in advance. Please its very very urgent.
Sanjay Sharma
Saturday, May 6, 2006
// Gets the selected row and returns row number
obj.onSelectedRowsChanged = function(rowIndexArray)
{
var rowIndex, rowPosition, i, s = "";
for(i=0; i<rowIndexArray.length; i++)
{
rowIndex = rowIndexArray[i];
rowPosition = this.getRowPosition(rowIndex);
s += " " + rowPosition;
}
alert(s);
}
Monday, May 22, 2006
This topic is archived.
Back to support forum
Forum search