Lazy loading tree, multiple columngrouping [message #1391765] |
Tue, 01 July 2014 07:35  |
Eclipse User |
|
|
|
Hello experts,
I am a german software developer. I am very interested in NatTable and try to use it for our Application. We need a high-performance Table/Grid with the standard functions like sorting, filtering, Tree, etc... to show large Datasets.
Currently, we have problems with the following functions:
- TreeGrid with lazy dataloading
- multiple ColumnGroups (more than 3 Level)
Functions like sorting and filtering are implemented.
Now i have two questions:
I've read in the current roadmap, that the function 'column grouping' would be refactore. After the refactoring, it is possible to group more then 3 levels?
Currenty you can create a ColumnGroupGroupHeaderLayer that contains a ColumnGroupHeaderLayer.
Is there a way to load the children of a tree only once when their parent is expand? (like the ITreeContentProvider from JFace?) If i understand the structure aright, then the TreeList (respectively the underlying lists) have to contains all Elements (or at least the details elements) and create from the detailsElements the structure. (Bottom to Top) In my case i have the root elements and can retrieve their children. (like a FileBrowserTree, Top to Bottom)
Currently i try to avoid this problem by catching the ExpandEvent and load the data and put it into the list. I hope this will work. If i have solve this problem successully ich will post it.
I use the current release (Version 1.1.0)
I'm deeply grateful if anyone can respond to my questions.
|
|
|
|
|
|
Re: Lazy loading tree, multiple columngrouping [message #1403744 is a reply to message #1391920] |
Fri, 25 July 2014 15:16  |
Eclipse User |
|
|
|
Hi Daniel,
Have you found some more information about lazy loading a NatTable tree? I'm looking for the same, but haven't found any example or good practices yet. I was thinking of using a listener on the expand event of a node and to use the TreeList.Format.allowsChildren to tell the tree if the expand icon should be rendered. I'm not sure how NatTable will react, because I think it needs the complete list and builds the tree using TreeList.Format.getPath. I don't know when additional items can be (lazy) loaded.
|
|
|
Powered by
FUDForum. Page generated in 0.32264 seconds