Skip to content

MaxGridA data grid for business screens

Plain JavaScript, React, Vue and Angular components that take the same options.

Code ​

Pass columns and rows as options. The grid fills its parent's height.

html
<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>

Try it ​

Click a header to sort, and Shift+click to add a sort key. A row with an empty salary stays last in either direction.

Live demo — drawn by the real renderer

Features ​

AreaWhat it does
Display and virtual scrollOnly the visible rows are created in the DOM. With 24 or more columns, only the visible columns are drawn
Sort and filterHeader-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 keyboardRow selection, checkbox column, cell range selection, keyboard cell navigation
PagingClient and server paging with a pager
Editing and savingFive built-in editors plus date and time pickers, validation, row editing, undo, change tracking and batch save
Cell menu and clipboardCell right-click menu, copy, cut and paste (one undo step), cell notes
ColumnsResize, reorder and pinning, header groups, a column menu
Tree, grouping, totalsTree, row grouping, summary and subtotal rows, sorting groups by total, lazy loading, row detail panels
ExportCSV, Excel (several sheets, number formats), PDF (Korean and Simplified Chinese fonts)
Languages and themesKorean and English built in, Japanese and Chinese language packs, light and dark themes, three densities, custom themes
FrameworksPlain 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.