vaadin-component-factory / selection-grid-flow

Add the functionality to Vaadin Grid to focus on a particular row and column and select a range of rows with SHIFT/CTRL Click
https://incubator.app.fi/selection-grid-flow-demo/
Apache License 2.0
4 stars 8 forks source link

SelectionTreeGrid: Replace requirement for TreeDataProvider with HierarchicalDataProvider and InMemoryDataProvider. #20

Closed stefanuebe closed 3 years ago

stefanuebe commented 3 years ago

Currently the SelectionTreeGrid only allows the usage of a TreeDataProvider. This seems to be unnecessary, since there is no further usage of that specific type or its implementation details (at least not obvious) and leads to issues in cases, where own implementations of a Hierarchical InMemoryDataProvider shall be used.

Therefore the request is to change the check inside the setDataProvider method to check for HierarchicalDataProvider and InMemoryDataProvider (the later since it seems to be necessary atM to have an InMemoryDataProvider).

jcgueriaud1 commented 3 years ago

Closed by #26 Released in v0.4.2