Sep 10, 2010, 3:59 PM
How can i get the index of the row when all i have its a id?
Hi,
I have a GridPanel i'm using the methods
SelectedRows is a list of ids...
this ids are the correlative record.id (o got then another time, and outed on this list)...
theres some way to do that?
I have a GridPanel i'm using the methods
var RefreshSelectedItens = function (gridPanel) {
for (var i = 0; i < SelectedRows.length; i++) {
var row = //i have to get the row here based on SelectedRows[i]
if (row != null) {
row.getElementsByTagName("div")[1].innerHTML = i + 1;
}
}
}
SelectedRows is a list of ids...
this ids are the correlative record.id (o got then another time, and outed on this list)...
theres some way to do that?