onBeforeDeleteRows returns a promise from a confirm dialog; Cancel keeps the checked rows and Delete removes them.
pnpm dlx shadcn@latest add "https://gridcn.vercel.app/r/data-grid-delete-confirm-demo.json"
Shadcnblocks.com
Premium blocks for shadcn/ui
Affiliate