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
5 stars 8 forks source link

Remove necessity for InMemoryDataProvider #24

Closed stefanuebe closed 3 years ago

stefanuebe commented 3 years ago

Currently the selection tree grid only supports an in memory data provider. Most applications use lazy loading data providers due to huge amounts of data. Therefore it would be helpful, if the STG would also work with such data providers. (Might already work, but the current version requires a TreeDataProvider, which is in memory).

jcgueriaud1 commented 3 years ago

The shift-click selection range with a lazy data provider could lead to a lot of db requests. It's probably a bad idea to use the component with a huge amount of data, that's why it has been limited. It could work but for sure with cases that will block the application.

stefanuebe commented 3 years ago

The shift-click selection range with a lazy data provider could lead to a lot of db requests. It's probably a bad idea to use the component with a huge amount of data, that's why it has been limited. It could work but for sure with cases that will block the application.

Not sure in which way that should lead to additional db requests (in a critical way I mean :) ) beside the ones that already have been done before or that will be done, when scrolling up and down, since the selection should only select expanded items, correct?

jcgueriaud1 commented 3 years ago

Closed by #26 Released in v0.4.2