Hi,
We recently moved to Vaaind8( 8.3.1) and I am trying to use TreeGrid, facing following issues
- When we use AbstractBackEndHierarchicalDataProvider how do we set the RootLevel Items in the TreeGrid? since it only has
fetchChildrenFromBackEnd(HierarchicalQuery<ContentManagerItemBean, Void> query)
method, as work around I am checking if query.getParent() is null then return RootLevel otherwise ChildLevel Items. See
Image 1.png
- When I expand one of the ParentNode instead of fetching its Child Items only, it starts fetching Child Items for next ParentNode as wellI. See
Image 2.png
When Tree gets created the fetchChildrenFromBackEnd() is getting invoked multiple times even without touching the tree at first.
Please help if I am using the Component wrong way?
Thanks,
Saif.