Hi,

I have some code which creates an extremely long table row, and I've been able to clean it up to a point where my performance is fairly decent. What I am trying to figure out is if its better in terms of speed to use divs as opposed to the really long table row. I didn't really find much on this topic online, so thought I'd ask out here.

Any ideas ?

Thanks !!

An interesting article on table layout is below. There are also a lot of really interesting blogs about other performance topics there too.

http://www.stubbornella.org/content/2009/03/27/reflows-repaints-css-performance-making-your-javascript-slow/

You also might consider a staggered rendering approach. You could render only the viewable portion (plus a little more) of the table at a time and then render the new content on scroll. Also you might see if pagination is a possibility.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.