[jQuery] Re: Browser Hangs while hiding 2K+ table rows

2008-12-23 Thread Gordon
I wrote a test page with 4 different methods for hiding the rows. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/ TR/xhtml11/DTD/xhtml11.dtd html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=UTF-8 / titleUntitled

[jQuery] Re: Browser Hangs while hiding 2K+ table rows

2008-12-22 Thread RickyBerg
Cam, I'm hiding all rows only in anticipation of showing the higher levels of the tree that is represented by this table. Each row has a class associated with it that indicates the level which simply has a left-margin css value associated with it giving the appearance of subordination in the

[jQuery] Re: Browser Hangs while hiding 2K+ table rows

2008-12-18 Thread Cam Spiers
If you are trying to hide allrows would it be possible to hide either the table or the tbody? On Fri, Dec 19, 2008 at 7:28 AM, RickyBerg bergbra...@gmail.com wrote: I've been converting a legacy web app to use JQuery. I've now cleaned it up so that my HTML validates and I have instrumented

[jQuery] Re: Browser Hangs while hiding 2K+ table rows

2008-12-18 Thread Ricardo Tomasi
It seems the overhead of hide/show() is too great for that situation. $allRows.css('display','none') gives good performance from the start. On Dec 18, 4:28 pm, RickyBerg bergbra...@gmail.com wrote: I've been converting a legacy web app to use JQuery.  I've now cleaned it up so that my HTML