:: Forum >>
simulate click event
after my grid renders based on a querystring(cellid) would like to fire the cellclick event.
so if querystring =5,5
i'd like to simulate if the 4th cell in the 4th row was clicked.
which in my case redirects an iframe.
much thanks
ryguy
Thursday, August 31, 2006
this is my solution for now:
// r read value , y my column i'm checking
function testIt(r,y){
for( var c=0; c<myData.length; c++){
if (myData[c][y]==r) {
obj.setProperty("selection/index", c);
view(r); //myfunction that is added to the click event
break;
}
}
}
then based if querystring exists i render javascript passing my value to the above function.
ryguy
Thursday, August 31, 2006
This topic is archived.
Back to support forum
Forum search