By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 2,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

Design for a table that can resize /sort 'quickly' if it has more than 1000 rows

P: 57
I have a javascript table with sortable columns, resizable columns. Basically a cut and paste of things I found on the internet.

It works well until the row count gets up to 1000 or so records, which is a requirement since the web app has existing Infragistics grids that do that. At that point the process is very slow.

How should I approach this? Is it possible with javascript? Has anyone had solved this problem before? Is there a javascript class definition that works (do i buy one, who makes it?). My current work around is to disable the sort and resize for large numbers of rows. Scrolling is fine.

Is there a means of somehow using the Inragistics control to write html that I can set to my tables inner html?
Jan 24 '08 #1
Share this Question
Share on Google+
1 Reply


100+
P: 428
Long tables can be broken into sections of tbodies and displayed incrementally.

All of the calculations and sorts should be abstracted from the table into an array like object. Each tbody should have all of its changes written offstage, in a document fragment or a hidden div, and then reinserted when done, instead of being redrawn with each change to each cell.
Jan 24 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.