Vaadin grid selection using Ctrl/Shift key

Hi, I am using Vaadin grid with LitElement.I am using vaadin-grid-selection-column to select rows using the check-box. Is there a functionality available in the grid which allows us to select multiple rows using Ctrl/Shift keys?

Thanks

Hi, this particular feature isn’t built into the grid core, but you can implement custom functionality on top of any DOM events occurring in the grid with help of grid.getEventContext(event). Here’s a live example that highlights some cells with shift-click (for copying data to clipboard), but it can be modified to do item selection instead: https://glitch.com/edit/#!/separated-comet