JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old December 3rd, 2003, 06:04 AM
srishti srishti is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 srishti User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
DOM Table with more than 1000 rows and 256 columns

We are trying to develop a web-based spreadsheet application. Currently it is taking over a minute to build a dom table with 500 rows and 256 columns with static data in it. Our goal is to be able to display upto 32000 rows and 256 columns of data to the user, without waiting an eternity for it to load in the browser.

Our standard is Mozilla 1.5 and IE 6.0. Also the time taken to create the dom table above was on an AMD Athlon XP 1600+ running Redhat 8.0. On checking the system monitor we saw that the CPU usage was 100%.

We need help to make the dom execution faster, so that the table may be created in lesser time.

Any help would be highly appreciated.

Reply With Quote
  #2  
Old December 3rd, 2003, 07:20 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
And you're doing this in javascript? There's no way, javascript or not, that you'll be able to display 32000 rows and 256 columns quickly. I wrote a quick PHP script that does nothing but print a bare-bones table containing very little data and that doesn't even hit a database, and it took 2.5 minutes to print out 2000 rows of 256 columns, bringing my desktop system to its knees. And this is on a quad-processor, gigabyte Web server.

Reply With Quote
  #3  
Old December 4th, 2003, 04:29 AM
srishti srishti is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 srishti User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your reply.
We have to develop a web-based spreadsheet application within which we can see the data from MS EXCEL.
Then what is the best that we can do without taking lots of loading time and how do we go about it.

Reply With Quote
  #4  
Old December 4th, 2003, 09:30 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
For huge data sets, the Web's really not your best bet, transfer being your biggest impediment. Perhaps you could optimize your page a bit by having a row threshold with "previous" and "next" links. That is, maybe you display 50 rows at a time but make the spreadsheet fully searchable and sortable and paginated. I'm still not sure how you're using javascript to do this.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > DOM Table with more than 1000 rows and 256 columns


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT