Skip to content

Data grid

Pro

Spreadsheet-style editing, virtualized both ways, with typed editors, validation, keyboard ranges, and copy and paste. Not an M3 component (@windmorph/react-pro).

import { DataGrid } from '@windmorph/react-pro/data-grid';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

Customer
City
Total

Code

import { DataGrid } from '@windmorph/react-pro/data-grid'; <DataGrid  editable  height={280}  aria-label="Orders"  columns={[    { id: 'customer', header: 'Customer', accessor: (row) => row.customer },    { id: 'total', header: 'Total', accessor: (row) => row.total, type: 'number' },  ]}  rows={[    { id: '1', customer: 'Alex Morgan', total: 120 },    { id: '2', customer: 'Sam Rivera', total: 86 },  ]}  getRowId={(row) => row.id}/>

Examples

Editing, validation and a pinned column

A row header, totals and cell states