Data Grid Comments
- from @gridcn
- by gridcn
Cell comments add-on for the gridcn data grid: useDataGridComments adds comments addressed by row id and column id, a corner marker, a comments popover with keyboard access (Shift+F2), optimistic versioned saves through onCommentSave, echo matching for applyRemote, and fetchComments for the rendered rows.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @gridcn/data-grid-commentsRegistry dependencies4
- @gridcn/data-grid
- button
- textarea
- separator