3.2.0

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
August 22,
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)
August 23,

This topic is archived.

See also:


Back to support forum