Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DataTable too slow to render large tables from mark up   Message List  
Reply | Forward Message #30982 of 52114 |
Hi All,

I have a rather large table (100 rows) that needs to be converted into
a YUI DataTable.

The process works fine except that it's a little slow so that in IE6,
the user would see the "raw" table first, then after a few seconds,
the YUI DataTable is shown.

The "raw" table looks really ugly because it has no CSS styles applied
to it. I was wondering if there was a way to delay the rendering of
the DataTable until it's completely ready as to not show the "raw"
table first?




Thu May 15, 2008 1:32 am

lhdgawohto
Offline Offline
Send Email Send Email

Forward
Message #30982 of 52114 |
Expand Messages Author Sort by Date

Hi All, I have a rather large table (100 rows) that needs to be converted into a YUI DataTable. The process works fine except that it's a little slow so that...
Colin
lhdgawohto
Offline Send Email
May 15, 2008
1:32 am

Hi, Please refer: "New Progressive Rendering Scheme" section at http://developer.yahoo.com/yui/datatable/ Hope this helps you. Warmest regards, Joe Li YIM:...
Joe Li
cpli_hk
Online Now Send Email
May 15, 2008
1:49 am

Set the style of the container of the original table to display:none as soon as JavaScript kicks in. That is, if you are using markup as a fall back for users...
Satyam
satyamutsa
Offline Send Email
May 15, 2008
8:50 am

Thanks for the suggestions. I made the div display:hidden, then restored to display:block after the javascript has done processing. Thanks, Colin ... as soon ...
Colin
lhdgawohto
Offline Send Email
May 16, 2008
4:26 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help