SelectionFilter works by deselecting an item if it cannot be selected.
If the grid has single selection mode, this approach causes flickering (because deselection is handled in the server side)
|
// Revert selection if item cannot be selected |
|
if (!canSelect(item)) { |
|
event.getSource().deselect(item); |
|
} |
Vaadin 23.2.10 / grid-helpers 0.3.2-snapshot
SelectionFilter works by deselecting an item if it cannot be selected.
If the grid has single selection mode, this approach causes flickering (because deselection is handled in the server side)
GridHelpers/src/main/java/com/flowingcode/vaadin/addons/gridhelpers/SelectionFilterHelper.java
Lines 93 to 96 in 9d9afa5
Vaadin 23.2.10 / grid-helpers 0.3.2-snapshot