Skip to content
Niko Table

Composed Grid

A full Niko Grid with clipboard, fill, move, filters, dynamic columns, and typed editors.

This is the full Niko Grid from the Introduction, with every feature turned on. Use it to see what the grid can do, then keep only the pieces you need. Pieces you leave out add no listeners.

grid-all-features.tsx
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

The editors and menus also need these shadcn components:

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