:: Forum >>

How to pass dynamic parameters to child window's URL

This is a nice project, I like it.

I use the following code (from the Forum by Alex) to open a new window by double click on the grid row. It works fine.

var row = new Active.Templates.Row;
row.setEvent("ondblclick", function(){this.action("myAction")});
obj.setTemplate("row", row);

obj.setAction("myAction", function(src)

However, I cannot find a way to pass dynamic parameters to the child window URL (my_test.php?);
The dynamic parameters should be the first column data (IBM, Microsoft, Dell ...). What I want is:
When I double click 1st row, the child window URL shall be
my_test.php?IBM; and double click 2nd row, the child window URL shall be my_test.php?Microsoft ....

The first column was frozen using Alex's code (

Thanks a lot in advance
Yuming Si

Friday, December 10, 2004
myWindow = window.open("my_test.php")
myWindow.opener = window; //the window object of the grid

and in the opened window:

this.opener.grid_data[0][0] - represents the first row first column (or the first col first row whatever)
Monday, December 13, 2004

This topic is archived.

Back to support forum

Forum search