Bulk actions
Bulk actions appear in the list selection bar when one or more rows are checked.
static resourceActions(actions: ActionBuilder) { actions.bulkDelete().confirm('Delete selected tickets?') actions.bulk('assign_me', 'Assign to me').icon('check') return actions}
static override async handleAction(name, records) { if (name === 'assign_me') { // records = all selected rows return { message: `Assigned ${records.length}`, notification: true } } return null}bulkDelete()is handled by the host (same as row delete) — it does not callhandleAction.- Custom
bulk(name, label)always receives the selected records array inhandleAction. - Combine with Confirmations and Authorization like any other action.
Bulk API
| Method | Description |
|---|---|
actions.bulkDelete(label?) | Built-in multi-delete (danger + default confirm). |
actions.bulk(name, label) | Custom bulk action → handleAction. |