Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kris A on Nov 29, 2008 04:29
open dhtmlx forum
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 <table> width to 100% or the container <div> 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?
Answer posted by Support on Dec 01, 2008 01:59
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 support@dhtmlx.com