This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Description
Prerequisites
[Check these off before submitting an issue].
For more information, see the CONTRIBUTING guide.
Description
When filtering the vcd-datagrid, the selection gets lost. The [preserveSelection] input does not work as expected.
Impact
- The end user experience can be improved.
- Using [preserveSelection] is misleading.
Steps to Reproduce
- Create a simple component and use the vcd-datagrid in the template
- Add filterable columns and single selection
- Set the [preserveSelection] to true
- Populate some data
- Select an entity and filter by any column
Expected behavior:
The selected item should be preserved.
Actual behavior:
Selection is not lost.
Versions
- Package version (run
npm version) 15.0.1-dev.4
- Node Version (run
node -v) 14.20.1
- OS Version Windows/MAC
- Browser Version Chrome 113.0.5672.93
Stackblitz
The following stackblitz examples can be used: