:: Forum >>

Hide a grid Post load

Hello,

Forgive this relative noob question:

I am attempting to display several grids on a page, hiding all but one at a time. I have the grids in a DIV but when adjusting the visibility of the DIV, the grid stays so I am doing the following onload of the page:

gridName.setStyle("display","none");

This works roughly 80% of the time. 20% it seems that the timing is off where the grid finishes loading after the setStyle call resulting in the grid headings still being visible. Is there a way that I can guarentee that the setStyle call will happen after the grid(s) load?

Thanks.
AL
Wednesday, April 5, 2006

This topic is archived.


Back to support forum

Forum search