GridSelectionColumnElement
<vaadin-grid-selection-column> is a helper element for the <vaadin-grid> that provides default renderers and functionality for item selection.
Example:
<vaadin-grid>
<vaadin-grid-selection-column frozen auto-select></vaadin-grid-selection-column>
<vaadin-grid-column>
...By default the selection column displays <vaadin-checkbox> elements in the column cells. The checkboxes in the body rows toggle selection of the corresponding row items.
When the grid data is provided as an array of #/elements/vaadin-grid#property-items, the column header gets an additional checkbox that can be used for toggling selection for all the items at once.
The default content can also be overridden
Properties
When true, the active item gets automatically selected.
When true, rows can be selected by dragging over the selection column.
Custom part name for the footer cell.
Custom function for rendering the footer content. Receives two arguments:
When true, the column is frozen to end of grid.
Custom part name for the header cell.
Custom function for rendering the header content. Receives two arguments:
When set to true, the cells for this column are hidden.
Custom function for rendering the cell content. Receives three arguments: