Reputation: 1
I know the tree data does not support the backend service. However I would like to hack the behavior somehow as I can load the data at once (without paging) and the server can send me the data correctly sorted each time I change something.
I've patched the throws which ban the usage of treeData with multiselect, backend service etc.
When I ask for hierarchicalDataset, its correctly grouped by child/parent relations - so the setup should be correct.
However, the dataset is not displayed hierarchically, but flat and I even lose the checkbox column in the process. Do you have any suggestions on where to patch the behavior I need?
Flat hierarchical data (Group by col is the parent ID)
I've patched the throw checks to enable grid creation, secured the treeDataOptions is correctly setup.
Upvotes: 0
Views: 78
Reputation: 1
To enable tree collapsing/expanding with backendServiceApi, enable local filtering on the grid.
backendServiceApi.useLocalFiltering = true
Upvotes: 0