I’m having some trouble with using the enableAutoHeight option when I initialise the grid from an existing HTML table.
The HTML table is a reasonably large table with about 100 rows
Here’s my code… (I have no Doctype at the top of the page)
TEST
…
In both FireFox 2.0.0.11 and IE 7 on Windows XP Pro SP3… the table fills the length of the page and shows all the data. With no vertical scrollbars as desired.
But I’m then getting a load of blank lines after the table before the rest of my page content starts.
The number of blank lines appears to be roughly the same height as the actual table.
It doesn’t happen so much for tables of 1-30 rows
Is there a way to fix this?
It’s an awesome feature that I’m just waiting to use!
Thanks
Ben
When grid initialized from table - it takes table sizes, if you want to enable the real auto-height feature - add next attribute to table tag
<table gridHeight=“auto” …