@alaarab/ogrid-react-material
v2.7.3
Published
OGrid React Material implementation – MUI Table–based data grid with sorting, filtering, pagination, column chooser, spreadsheet selection, and CSV export.
Downloads
917
Maintainers
Readme
@alaarab/ogrid-react-material
OGrid data grid for React, built with Material UI v7.
Install
npm install @alaarab/ogrid-react-materialUsage
import { OGrid, type IColumnDef } from '@alaarab/ogrid-react-material';
const columns: IColumnDef<Employee>[] = [
{ columnId: 'name', name: 'Name', sortable: true, editable: true },
{ columnId: 'department', name: 'Department', filterable: { type: 'multiSelect' } },
];
<OGrid columns={columns} data={employees} getRowId={(e) => e.id} />See the OGrid docs for full documentation.
