:: Forum >>

Ajax update on grid click

Hi everyone.

My question is regarding events that are triggered on click on a grid.

Suppose we are in somepage.jsp. Basically we want to drill down on a grid, so a click on a row/column pair would redirect the user to the same JSP page (or refresh) but this time with added parameters, like somepage.jsp?row=x&col=y
This page displays different data (from db) depending on the row/column pair.

It seems we need to call some function from javascript. How can we that?

Any help is more than appreciated. Thanks.
Jim Perry
Wednesday, August 22, 2007
Yes, you should attach an event handler to onCellClicked event and use window.location property to navigate into another page -

obj.onCellClicked = function(event, col, row){
    window.location = "page.jsp?col=" + col + "&row=" + row;
Alex (ActiveWidgets)
Thursday, August 23, 2007

This topic is archived.

Back to support forum

Forum search