Confirmation flow
copy and delete use a confirmation dialog. Current behavior: 1. User clicks Copy or Delete. 2. Dialog opens and stores the pending action.
Guide
Confirmation flow and callback contract for copy, delete, edit, and export
copy and delete use a confirmation dialog. Current behavior: 1. User clicks Copy or Delete. 2. Dialog opens and stores the pending action.
edit: executes immediately. export: executes immediately. copy: always requires confirmation. delete: always requires confirmation.
Use customBulkActions on DataTable when selected rows need app-specific operations such as publish, archive, approve, or sync. The prop accepts either a static array or a callback that receives the current selection con...
What this page covers
The original MDX source has been condensed into CMS-native cards so the page can be edited and republished from the control plane.
copy and delete use a confirmation dialog. Current behavior: 1. User clicks Copy or Delete. 2. Dialog opens and stores the pending action.
edit: executes immediately. export: executes immediately. copy: always requires confirmation. delete: always requires confirmation.
Use customBulkActions on DataTable when selected rows need app-specific operations such as publish, archive, approve, or sync. The prop accepts either a static array or a callback that receives the current selection con...
Recommended return shape: type BulkActionResult = success: boolean; closeMenu: boolean;
Implementation notes
Using Server Actions for list, create, update, delete and bulk operations
$ <DataTable
$ tableType="entries"
$ customBulkActions={(ctx) => [
$ {
$ id: "publish-selected",