Components
BaseDataTableBulkBar
The bar that appears while rows are selected, with the count, “show only selected” and the bulk actions.
components/ui/table/BaseDataTableBulkBar.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
API
Props
Name | Type | Default | Description |
|---|---|---|---|
selectedrequired | unknown[] | — | The selected rows. |
actions | TableBulkAction[] | [] | The bulk actions. |
only-selected | boolean | false | Whether the table shows only the selected rows. |
Slots
Name | Slot props | Description |
|---|---|---|
#default | — | Replaces the actions. |
Events
Name | Payload | Description |
|---|---|---|
@update:onlySelected | [value: boolean] | The toggle changed. |
@clear | — | The user cleared the selection. |