:: Forum >> Version 1 >>
displaying correct row when selecting row in grid
Hi,
I have the following code for opening a new window with ticket details when clicking on a row in the Grid:
obj.setDataProperty("index", function(i){return myData[i][0]});
obj.setAction("click", function(src){window.open('http://localhost/MVO/ticketdetail.php?id=' + src.getItemProperty('index'))});
Above code takes the first column (i.e. ticket_number) as index.
This code opens a new window, but ticketdetail.php always displays the first row of the grid, no matter which row i select in the grid.
How can i retreive the values of selected grid row, so that those row values are displayed in the ticketdetail.php?
Hans
Thursday, August 4, 2005
This topic is archived.
Back to support forum
Forum search