How to handle huge table ?

Posted by misha-moroshko on Stack Overflow See other posts from Stack Overflow or by misha-moroshko
Published on 2010-04-26T13:53:26Z Indexed on 2010/04/26 14:03 UTC
Read the original article Hit count: 182

Filed under:
|

I would like to display to user a table which contains ~500,000 rows. The table should be calculated based on a file (i.e. the table is known at the beginning, and does not change). I guess that building the HTML text of this table is not a good idea in terms of memory performance. So how can I build such table ?

I would like user to be able to scroll the table using a vertical scroll bar. Is it possible to build on the fly only the visible part of the table ? I'm afraid to see delays because of this.

Is it a better idea to use server side programming rather than Javascript ?

Any advise would be appreciated.

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript