Data Table 9 - Inline editable cellsPro
Budget table where clicking a cell turns it into an input; Enter or blur saves, Escape cancels, and row and grand totals recalculate live.
About Data Table 9
Budget table where clicking a cell turns it into an input; Enter or blur saves, Escape cancels, and row and grand totals recalculate live.
Data Table 9 is a pro data table block for React, built on shadcn/ui and Tailwind CSS. It ships as 151 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- table
- editable
- inline-edit
- input
- totals
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/data-table-09Dependencies installed automatically: lucide-react.
Uses: input, reveal, table, utils.
Usage
import DataTable09 from "@/components/blocks/data-table-09"
export default function Page() {
return <DataTable09 />
}