Skip to content
On this page

VDataGridRow

Props

NameTypeDescription
grid-template-columnsstringString that gets applied to the the css gridTemplateColumns attribute for the row x
row-typeEnum:
default
header
sticky-header
The type of row
aria-selectedstringIndicates the selected status.

Events

NameEvent TypeDescription
cell-clickCustomEvent<{cell: HTMLElement, row: HTMLElement, isHeaderCell: boolean, columnDataKey: string}>Event that fires when a cell is clicked
row-focusedCustomEvent<HTMLElement>Fires a custom 'row-focused' event when focus is on an element (usually a cell or its contents) in the row

Slots

NameDescription
defaultDefault slot.

Methods

NameTypeDescription
handleFocusout(_: FocusEvent) => void
handleCellFocus(e: Event) => void
handleKeydown(e: KeyboardEvent) => void