I already had a grid A.
Then A has a link Button.
When I click the link button,
It will go to a the build another grid B.
B will loadXML to the PHP.
I want A post the cell2’s value of the row to the PHP.
In B
mygrid.loadXML(“events04getd.php?name=”+cellInd
, function() {
mygrid.selectRow(0);
});
or
mygrid.loadXML(“events04getd.php?name=”+mygrid.cells(id, 1).getValue()
, function() {
mygrid.selectRow(0);
});
They do not work.
How can I do?
Olga:
They do not work.
Your code is correct. Does cellInd and mygrid.cells(id, 1).getValue() returns necessary value?
If it returns necessary value,I will not post the question…
mygrid.loadXML(“events04getd.php?name=”+mygrid.cells(id, 1).getValue()
, function() {
mygrid.selectRow(0);
});
means
B_grid.loadXML(“events04getd.php?name=”+A_grid.cells(id, 1).getValue()
, function() {
A_grid.selectRow(0);
});
How do I check row with specified id really exists at the grid??
Olga
July 14, 2010, 9:01am
#6
My question is “How can I get the row’s id”??
Olga
July 14, 2010, 9:58am
#8