VDataTableRow API
name | type | default |
|---|---|---|
| Record<string, any> | (( data: Pick< ItemKeySlot<unknown>, 'value' | 'item' | 'column' | 'index' | 'internalItem' >, ) => Record<string, any>) | undefined | |
Props to be applied to the cell. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | '$collapse' | |
Icon to display when the expandable row is expanded. | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | '$expand' | |
Icon to display when the expandable row is collapsed. | ||
number
| undefined | |
Row index. | ||
unknown
| undefined | |
Data (key, index and column values) of the displayed item. | ||
boolean
| false | |
Determines the display mode of the component. If true, the component will be displayed in mobile mode. If false, the component will be displayed in desktop mode. If null, will be based on the current mobile-breakpoint | ||
number | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | undefined | |
Overrides the display configuration default screen size that the component should be considered in mobile. | ||
name | type | |
|---|---|---|
[MouseEvent] | ||
Event that is emitted when the component is clicked. | ||
[MouseEvent] | ||
The event emitted when the user clicks the context menu button. | ||
[MouseEvent] | ||
The event emitted when the user double clicks the row. | ||
Slot for custom rendering of a header cell. | ||
Slot for custom rendering of a row cell. | ||
Slot to replace the default | ||
Slot to replace the default | ||
Slot for the expand button in the row. | ||
Slot for the select checkbox in the row. | ||