Click here to Skip to main content
15,890,434 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

I have a big table, which takes a lot of time to load on the web. I'm looking for a solution to speed up the loading time, and I'm not looking into splitting it into various pages. Any suggestion?? Here is the link: http://khi.ac.ir/EnglishW/info/Students/All_Students.aspx[^]
Posted
Comments
CHill60 24-Nov-13 12:37pm    
Can't really help you if you don't explain how you are loading the table...

Well, it is uncommon to display such a huge table. It is not user-friendly. Nobody can handle it, and not only because loading / rendered it takes too much time.
What you could use is either an infinite scroll kind of approach, like this: http://dumpk.com/2013/06/02/how-to-create-infinite-scroll-with-ajax-on-jquery/[^], or use a jquery grid implementation that supports server side filtering and pagination. Look around here: http://flarnie.com/2013/javascript/best-javascript-grids/[^]. But for this you would need some sort of backend - still, this is the way to handle large tables.
 
Share this answer
 
You could look at optimizing your query logic to page / return less data per call.
This should make your table load faster.
 
Share this answer
 
You can also switch the container object from table elements to div tags. Div tags render faster than table elements.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900