Community
Participate
Working Groups
Open and launch the attached sample project "testtable". It consists of a section and a table below the section. Resize the rap window to a small size. Open and close the section (to force the table to relayout itself). Now resize the window to a big size (or maximize it). Open and close the section (to force the table to relayout itself) again. Notice that opening and closing the section now is slower than before (small window size). I noticed that the problem does not depend on how much data the table contains, but on the size of the visible area of the table, which means that a big visible part of the table leads to slow relayouting.
Created attachment 168867 [details] sample project showing the problem
I tested your example with different browsers. First of all, a full page table with 32 columns and > 35 visible rows results in a lot of DOM elements to re-layout which is a challenge for older browsers. With a modern browser like Chrome, there is almost no noticeable delay. But with FF 3.0 or IE 7, the delay is really annoying. Here are two possible optimizations: * More than half of the time is used up by the DOM operations in TableItem.js#_renderText. I guess there is still room for improvement, e.g. sorting out which element properties really need to be changed. * I noticed that cell divs are rendered even for empty cells. I remember that in the original design those divs are only needed if there is an image, text or cell background color set.
*** Bug 330370 has been marked as a duplicate of this bug. ***
By resolving the Bug 332524 the client-side widgets of Tree and Table are now merged. Tim, is this still an issue with the new implementation?
Tim, can we close this bug?
I can#t say if the reporter is okay with the current state, but we DO have Bug 338196 to track Tree/Table performance issues.
(In reply to comment #6) > I can#t say if the reporter is okay with the current state, but we DO have Bug > 338196 to track Tree/Table performance issues. OK. This bug report is completely outdated as we have a new client-side Table implementation (see bug 332524). I will close it as WONTFIX. Further optimizations will be tracked by bug 338196. Thomas, please reopen it if you disagree.
I decided to change the resolution state to duplicate of bug 338196. *** This bug has been marked as a duplicate of bug 338196 ***
I agree, no need to reopen from my point of view.