VDataTableHeaders API
属性
名称 | 类型 | 默认值 |
---|---|---|
color | ||
Applies specified color to the control - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page . | ||
disable-sort | ||
Toggles rendering of sort button. | ||
header-props | ||
MISSING DESCRIPTION (edit in github ) | ||
loading | ||
Displays linear progress bar. Can either be a String which specifies which color is applied to the progress bar (any material color or theme color - primary, secondary, success, info, warning, error) or a Boolean which uses the component color (set by color prop - if it’s supported by the component) or the primary color. | ||
mobile | ||
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 | ||
mobile-breakpoint | ||
Overrides the display configuration default screen size that the component should be considered in mobile. | ||
multi-sort | ||
MISSING DESCRIPTION (edit in github ) | ||
sort-asc-icon | ||
Icon used for ascending sort button. | ||
sort-desc-icon | ||
Icon used for descending sort button. | ||
sticky | ||
Sticks the header to the top of the table. |
插槽
header.data-table-expand |
MISSING DESCRIPTION (edit in github ) |
header.data-table-select |
MISSING DESCRIPTION (edit in github ) |
headers |
MISSING DESCRIPTION (edit in github ) |
loader |
Slot for custom loader (displayed when loading prop is equal to true). |
[`header.${string}`] |
MISSING DESCRIPTION (edit in github ) |