Improve performance of trees
(MGNLUI-1492)
|
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | tree/list |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | Sub-task | Priority: | Major |
| Reporter: | Mikaël Geljić | Assignee: | Mikaël Geljić |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Sprint: | Beta 3 | ||||||||||||||||
| Description |
|
Vaadin TreeTable component originally supported partial updates for expanding/collapsing rows. Since Vaadin 7, this mechanism was disabled because it doesn't work with generated components in table cells. We need to re-enable that and switch to another mechanism for customizing cell content for column formatters (having proper vaadin components in cells on every row is a costly operation anyway). We take the chance to restore row-based lazy-loading for trees, with a comfortable cache rate so that we're still on the safe side for very big hierarchies. |
| Comments |
| Comment by Mikaël Geljić [ 31/May/13 ] |
|
Partial updates work again for expanding/collapsing nodes, at the cost of temporarily removing column formatters (see linked follow-up subtask) |
| Comment by Daniel Lipp [ 06/Jun/13 ] |
|
pls replace Exception#printStacktrace() by logging... |