Skip to content
Niko Table

Composed Grid

Full composable Data Grid with clipboard, fill, move, filters, dynamic columns, and typed editors.

Demo from the Introduction. Mount only the features you need; unmounted children attach no listeners.

Open in
Stress test:
Paste a spreadsheet (Ctrl/Cmd+V) to fill rows
Current Table State
Live view of table + grid state for demonstration
Search Query:None
Total Rows:500
Selected Rows:0
Active Filters:0
Sorting:None
Hidden Columns:0
Pinned Columns:1 Left, 0 Right
Dynamic Columns:10
Focused Cell:None
Editing Cell:None
Selection Anchor:None
Can Undo / Redo:No / No
Last Commit:None
pnpm dlx shadcn@latest add @niko-table/data-table-grid @niko-table/data-table-grid-changes @niko-table/data-table-view-dnd-menu @niko-table/data-table-faceted-filter @niko-table/data-table-search-filter @niko-table/data-table-sort-menu

Also needs shadcn primitives used by editors and menus:

pnpm dlx shadcn@latest add calendar popover command button checkbox dropdown-menu

First time using @niko-table? See the Installation Guide.

Area Pieces
Core useDataGrid, <DataGrid>, <DataGridCell>
Editors text, number, checkbox, date, select
Features clipboard, fill, move, cross-highlight, status bar, row reorder
Table overlays search, faceted filter, sort, view menu, column resize
Dynamic columns useGridColumns + add/menu
Persistence useGridChanges + Current Table State panel