GridAttributes
Attribute names of <vaadin-grid>, for use with setAttribute.
Properties
String used to label the grid to screen reader users.
The item user has last interacted with. Turns to null after user deactivates the item by re-interacting with the currently active item.
If true, the grid's height is defined by its rows.
A function that allows generating CSS part names for grid cells in Shadow DOM based on their row and column, for styling from outside using the ::part() selector.
Allows you to choose between modes for rendering columns in the grid:
Set to true to allow column reordering.
Function that provides items lazily. Receives arguments params, callback
A function that filters dragging of specific grid rows. The return value should be false if dragging of the row should be disabled.
A function that filters dropping on specific grid rows. The return value should be false if dropping on the row should be disabled.
A function to check whether a specific item in the grid may be selected or deselected by the user. Used by the selection column to conditionally enable to disable checkboxes for individual items. This function does not prevent programmatic selection/deselection of items. Changing the function does not modify the currently selected items.
Path to an item sub-property that indicates whether the item has child items.
Path to an item sub-property that identifies the item.
When true, Shift-clicking an unsorted column's sorter adds it to the multi-sort. Shift + Space does the same action via keyboard. This property has precedence over the multiSort property. If multiSortOnShiftClick is true, the multiSort property is effectively ignored.
Controls how columns are added to the sort order when using multi-sort. The sort order is visually indicated by numbers in grid sorters placed in column headers.
Custom function for rendering the content of the row details. Receives three arguments:
Marks the grid's rows to be available for dragging.