MaxGridA data grid for business screens
Plain JavaScript, React, Vue and Angular components that take the same options.
Plain JavaScript, React, Vue and Angular components that take the same options.
Pass columns and rows as options. The grid fills its parent's height.
<div id="grid" style="height: 300px"></div>
<script src="https://cdn.maxmine.com/maxgrid/1.8.0/maxgrid.min.js"></script>
<script>
MaxGrid.createGrid(document.getElementById('grid'), {
columns: [
{ id: 'name', title: 'Name' },
{ id: 'department', title: 'Department' },
{ id: 'salary', title: 'Salary', kind: 'number' },
],
rows: [
{ id: 1, name: 'Liam Carter', department: 'Engineering', salary: 84000 },
{ id: 2, name: 'Emma Wilson', department: 'Design', salary: 78000 },
],
rowKey: 'id',
});
</script>Click a header to sort, and Shift+click to add a sort key. A row with an empty salary stays last in either direction.
| Area | What it does |
|---|---|
| Display and virtual scroll | Only the visible rows are created in the DOM. With 24 or more columns, only the visible columns are drawn |
| Sort and filter | Header-click and multi-column sort (sorting one number column over 100,000 rows takes about 24ms, conditions in the guide), value-list and condition filter popups, a header filter row |
| Selection and keyboard | Row selection, checkbox column, cell range selection, keyboard cell navigation |
| Paging | Client and server paging with a pager |
| Editing and saving | Five built-in editors plus date and time pickers, validation, row editing, undo, change tracking and batch save |
| Cell menu and clipboard | Cell right-click menu, copy, cut and paste (one undo step), cell notes |
| Columns | Resize, reorder and pinning, header groups, a column menu |
| Tree, grouping, totals | Tree, row grouping, summary and subtotal rows, sorting groups by total, lazy loading, row detail panels |
| Export | CSV, Excel (several sheets, number formats), PDF (Korean and Simplified Chinese fonts) |
| Languages and themes | Korean and English built in, Japanese and Chinese language packs, light and dark themes, three densities, custom themes |
| Frameworks | Plain JavaScript (script tag, ESM), React, Vue 3, Angular, component cells, modular bundles |
Upcoming features are on the roadmap. If you are new, go to Get started.