Bulk Actions
label
property
React.ReactNodeicon
property
LucideIconconfirmationText
property
React.ReactNodeonClick
property
() => voidclassName
property
stringrequiresPermission
property
string[]disabled
property
booleanA component that should be used to implement any bulk actions for list pages & data tables.
Example
Parameters
props
parameter
Readonly<DataTableBulkActionItemProps>A bulk action is a component that will be rendered in the bulk actions dropdown.
The component receives the following props:
selection: The selected row or rowstable: A reference to the Tanstack table instance powering the list
The table object has
Example
For the common action of deletion, we provide a ready-made helper component:
Example
Was this chapter helpful?