Grid Layout

Hi ,

I want to show multiple grids on a page, so I created a layout using table and assigned coulmns width interms of percentage and added div there that can be used as placeholder for the grids,

But while loading page , it puts px there and changes the height to 0 px so Unable to view the grid. SO can’t I used absolute Layout using % instead of fixed pixels.

Please help me out.

thanks & regards


The grid takes the size of its container on moment of initialization
If you are init grid inside table cell, while tab not fully rendered yet - the browser will report size of cell as 0px , so the grid will take zero size.

To resolve issue you can init grid from onload event or just move initialization code below table closing tag.