| Summary: | Refactor Tree widget to make it really virtual | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | tbuschto | ||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.5 M1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | plan-version=1.5 plan-theme=widgets plan-status=committed | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 332524, 336169 | ||||||
| Attachments: |
|
||||||
|
Description
Ivan Furnadjiev
Added implementation for setItemCount to TreeItem.js and Tree.js in CVS HEAD. We did some refactoring on the server-side Tree as well. There are still some room for improvements like: * Tree#setItemCount should not create items if tree is virtual. * not use public methods like getItem( int ), getItems(), getItemCount() internally to avoid items creation * rework getTopItem(), should not call collectVisibleItems (Performance) * clean up collectVisibleItems * improve flatIndices updating Changes are in CVS HEAD. Created attachment 195597 [details]
Server-side refactoring
All needed refactorings related to virtual behavior of the Tree are in CVS HEAD. |