Open hesara opened 7 years ago
Constructing data is already doable through setItems(Collection<T> rootItems, ValueProvider<T, Collection<T>> childItemProvider)
.
Was this ticket based on the discussion about being able to also modify the data directly through e.g. TreeGrid
instead of doing getTreeData()
?
Yes, I believe the idea was to be able to construct or manipulate data through an API on the component itself. This approach has some issues as the API cannot apply to all instances with an arbitrary DataProvider, so I guess the setItems() mentioned by Leif (already implemented) is the best we can do right now.
Hello there!
It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.
There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):
Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!
Provide API on Tree/TreeGrid level for easily constructing in-memory content.
Based on feedback from @mstahv .