3.2.0

Grid.Extended onHeaderClicked & onCellClicked don't work if there are multiple grids

Hi,

My page contains two grids(Grid.Extended) with different IDs. The data for both grids are loaded correctly. However, the onHeaderClicked & onCellClicked events, and aw-mouseover-header style refuses to work in the first table(table at the top), while everything works fine in the second table(table at the bottom).

Thanks for help in advance!
Kun Yang
March 12,
Could it be that you use the same variable for both grids?
Alex (ActiveWidgets)
March 13,
Alex, thanks for you quick response.

I tried to make the generated code and put it here. It magically worked when I replaced those cell links with a website url like "http://www.google.com", both onHeadClicked and onCellClicked worked correctly for both tables. Hmmm... something must be wrong with my JSP codes. Not ActiveWidgets bug. The product is awesome!
Kun Yang
March 13,
Found the issue...

I accidently put these two lines of code into a for loop:

<link href="includes/ActiveWidgets/runtime/styles/xp/aw.css" rel="stylesheet" ></link>
<script src="includes/ActiveWidgets/runtime/lib/aw.js"></script>

so, they have been included more than once! After taking out them from the loop, everything goes smoothly!!!
Kun Yang
March 13,

This topic is archived.

See also:


Back to support forum