I don't know if it makes a difference, but my grids and the chart are inside of tables.
For isolation purposes, I have put the page 2 grids in a separate table and applied the "test" cssclass to the table instead of the grid with no change in behavior.