React.ReactNodeLucideIconReact.ReactNode() => voidstringstring[]booleanbooleanA component that should be used to implement any bulk actions for list pages & data tables.
Example
Parameters
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 listThe table object can be used to clear row selection after the action completes.
Example
For the common action of deletion, we provide a ready-made helper component:
Example
numberOptional order number to control the position of this bulk action in the dropdown. A larger number will appear lower in the list.
BulkActionComponent<any>The React component that will be rendered as the bulk action item.
A group of bulk actions that are visually separated in the dropdown menu.
Optionally includes a translatable label rendered as a DropdownMenuLabel.
React.ReactNodeOptional label rendered as a DropdownMenuLabel at the top of the group.
BulkAction[]The bulk actions in this group.
Bulk actions input supports three formats:
BulkAction[] — all actions in one group.BulkAction[][] — each inner array is a visually separated group.BulkActionGroup[] — groups with optional labels.Formats 2 and 3 can be mixed in the same array.
Example