In IE 5+, a <table> is never displayed before the complete table is loaded in the browser. Is there a way to avoid this? e.g. to display the first 100 rows when they are received by the browser
Printable View
In IE 5+, a <table> is never displayed before the complete table is loaded in the browser. Is there a way to avoid this? e.g. to display the first 100 rows when they are received by the browser
Try using <tbody>:
You should really use it to group related material, so try and do that if you can. You can also use <thead> for placing content at the start of the table, and <tfoot> for that the bottom. thead and tfoot both must be before tbody.Code:<table>
<tbody>
<tr><td>First 100 rows</td></tr>
</tbody>
<tbody>
<tr><td>Next 100 rows</td></tr>
</tbody>
</table>
Another way is to divide the table. Like this:
<table>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
</table><table>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
</table><table>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
<tr><td>..</td></tr>
</table>
Putting a table before other with no space or tags beetwen them makes the IE generate one big table instead a lot o little ones.