Selection GridPro
Selection Grid component for Grid Pro
Description
Selection Grid Pro component is based on Selection Grid component to provide support for multi-selection in Vaadin Grid Pro. It allows to:
- select a range of rows with SHIFT/CTRL + Click or SHIFT + Arrow
- select/deselect a row using Space Bar
Compatibility
- Version 1.x.x supports Vaadin 23, 24.1 & 24.2
- Version 2.x.x supports Vaadin 24.3
Missing features or bugs
You can report any issue or missing feature on github: https://github.com/vaadin-component-factory/selection-grid-pro-flow/issues
Sponsored development
Major pieces of development of this add-on has been sponsored by multiple customers of Vaadin. Read more about Expert on Demand at: Support and Pricing
Sample code
List<Person> personList = getItems(); GridPro<Person> grid = new SelectionGridPro<>(); grid.setItems(personList); grid.addEditColumn(Person::getFirstName).text(Person::setFirstName).setHeader("First Name"); grid.addEditColumn(Person::getLastName).text(Person::setLastName).setHeader("Last Name"); grid.addColumn(Person::getAge).setHeader("Age"); grid.addEditColumn(Person::isSubscriber).checkbox(Person::setSubscriber) .setHeader("Subscriber"); grid.setSelectionMode(Grid.SelectionMode.MULTI);
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
- Avoid executing unnecessary queries to the backend by debouncing calls from client side and defer obtaining the selected item until the grid loads the page from the backend
- Fix range calculation issues
- Released
- 2024-07-30
- Maturity
- EXPERIMENTAL
- License
- Vaadin Commercial License
Compatibility
- Framework
- Vaadin 24
- Vaadin 23 in 1.0.0
- Browser
- Browser Independent
Selection GridPro - Vaadin Add-on Directory
Selection Grid component for Grid ProSelection GridPro version 1.0.0
Initial release
Features:
* Select a range of rows with SHIFT/CTRL + Click or SHIFT + Arrow
* Select/deselect a row using Space Bar
Selection GridPro version 1.1.0
#### New features:
* Add right click selection
Selection GridPro version 2.0.0
* New version supporting Vaadin 24.3.
* Fix to use public API to calculate page instead of now removed private function
Selection GridPro version 2.1.0
Fix performance issue when selecting items with arrow keys
Selection GridPro version 2.1.1
#### Bug fixes:
* Fix performance issue by keeping reference of selected items on arrow selection
Selection GridPro version 2.1.2
- Avoid executing unnecessary queries to the backend by debouncing calls from client side and defer obtaining the selected item until the grid loads the page from the backend
- Fix range calculation issues