Grid to fit into <td>

Ok, serios problem,

after all the coding to render the tables in a beautiful grid way, i realise now that, when i set the

width to 100% or the container
width to 100%, it does not contain the grid to the table or div on smaller resolutions. On smaller resolution monitor

the grid is stretched which inturns comes up with a horizontal scroll. Any help?

Technically grid takes the same size as container in which it initialized.
If you init grid directly in TD cell of table - please beware that TD cells has not overflow setting, and will resize to content size automatically.
Using the DIV as grid’s container - resolve most problems.

Working sample sent by email.

If issue still occurs for you - please provide any kind of sample where issue can be reconstructed - you can send it directly to