Components
BaseDataTableColumnsMenu
The menu to show, hide and reorder the columns.
components/ui/table/BaseDataTableColumnsMenu.vue
Internal part
This is an internal part of BaseDataTable. You normally use it through BaseDataTable, but it is documented so you can customise or reuse it.
Example
hidden: category
API
Props
Name | Type | Default | Description |
|---|---|---|---|
columnsrequired | TableToggleableColumn[] | — | The columns, each { key, title, locked? }. |
v-model | string[] | [] | The hidden column keys. |
order | string[] | [] | The column order. |
Events
Name | Payload | Description |
|---|---|---|
@update:modelValue | [value: string[]] | Hidden columns changed. |
@update:order | [value: string[]] | The order changed. |