-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
If SelectionGrid is set as a multi-select and then the user selects some rows - the selectionListener should be receiving events as from the client, but in this case it is false.
Example:
var grid = new SelectionGrid<String>();
grid.setSelectionMode(Grid.SelectionMode.MULTI);
grid.addSelectionListener(event -> {
if (event.isFromClient()) { //always false
onSelectionChanged(); //never executed
}
});
Problem seems to be when calling the selectRangeOnly method in this line:
Line 198 in 59dde41
asMultiSelect().updateSelection(newSelectedItems, oldSelectedItems); |
Vaadin 23.3.0
Metadata
Metadata
Assignees
Labels
No labels