#11716 closed enhancement (fixed)
Tree Grid - Lazy loading for children level rows
Reported by: | evan | Owned by: | bryanforbes |
---|---|---|---|
Priority: | high | Milestone: | 1.6 |
Component: | DojoX Grid | Version: | 1.5 |
Keywords: | tree grid lazy loading | Cc: | [email protected]…, [email protected]…, [email protected]…, |
Blocked By: | Blocking: |
Description (last modified by )
Currently TreeGrid only supports lazy loading for root level rows, so it becomes slow when we have large number of children rows(since they will all be rendered at one time).
The enhancement applies the virtual scrolling model to all children level rows so even we have large number of children rows, it's working pretty well.
Attachments (1)
Change History (9)
Changed 10 years ago by
Attachment: | treegrid-#11716-09102010.patch added |
---|
comment:1 Changed 10 years ago by
Description: | modified (diff) |
---|
Uploaded patch from Evan, he says:
Please try dojox/grid/test_treegrid_children_lazyloading.html for a quick try.
Also this patch works pretty well with server-side store(with flatten items and some simple protocol - doc to be added)
TODO items:
- Add full support for client-side stores that follows standard dojo.data api
- Add doc to campus doc page
comment:2 Changed 10 years ago by
An updated patch version is in progress trying to simplify the specific protocol to be more compatible with existing Tree,TreeGrid? - so ideally, the same store would be working with existing Tree, TreeGrid? and the new lazy loading TreeGrid?
The UI still look the same as "treegrid-#11716-09102010.patch"
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 10 years ago by
The above "lazy-treegrid.patch" fixed following issues:
- A conflict occurs when multiple respond from server side and may cause LazyTreeGrid? would be rendered improperly
- Unable to expand a row manually using keyboard
- LazyTreeGrid? content became blank after refreshed/column reordered/column size changed/page size changed
- LazyTreeGrid? won't be rendered correctly after add/delete item(s)
- Sorting property should be sent to server side when fetching children items
comment:5 Changed 10 years ago by
Note: The "lazy-treegrid.patch" is re-appended to a new ticket #12063
comment:6 Changed 10 years ago by
(In [23301]) Fixes #12063, refs #11716. Proxy commit for evan (IBM, CCLA). Various LazyTreeGrid? bug fixes.
patch from Evan