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