You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 008b925
Browse filesBrowse the repository at this point in the historyBrowse files
|`showCellSelectionStats`|`boolean`| Status bar with count, sum and average of the range. |
187
+
|`undoRedo`|`boolean \| GridUndoRedoOptions`| Undo / redo of edits, paste, range clear and fill (Ctrl/Cmd+Z, Ctrl/Cmd+Shift+Z, Ctrl+Y); `{ limit }` sets the history size (v3.4). |
188
+
|`aiAssistant`|`GridAiAssistantOptions`| Ask AI panel in the toolbar; your `onPrompt` calls your model. Also `onAiAssistantApply` / `onAiAssistantError` (v3.5). See [AI toolkit](docs/features/ai-toolkit.md). |
|**npm package download**| — |**~2.6 MB**| Compressed tarball (includes `lib/` source, docs and source maps; about 8 MB unpacked) |
503
505
504
506
-**Tree-shaking Ready**: ES Module build — bundlers (Vite, Webpack) only include what you use.
505
507
-**Zero UI Dependencies**: No MUI, Ant Design, or Radix. Pure React + vanilla CSS.
506
508
-**Lazy Advanced Export**: ExcelJS and jsPDF are optional peer deps — not bundled, loaded only when you call `exportToExcelAdvanced` / `exportToPdf`.
507
509
-**Efficient Rendering**: Row and column virtualization keeps the DOM small (needs a bounded grid height): about 19 rows at rest and under 90 while scrolling fast, at 10k or 1M rows.
508
-
-**[Benchmarks](docs/performance.md#benchmarks)** (`npm run bench`, Apple M1, Chromium, production build): at 100k rows the grid mounts in 89 ms, sorts in 102–160 ms, filters in 28–33 ms and groups with a sum in 87 ms; at 1M rows mount takes 0.7 s and a sort 1.1–1.3 s. Scrolling missed no frames at any size in Chromium. Past the browser's height cap (645,277 rows at 52 px in Chromium and Safari, about 344,000 in Firefox) rows cannot be scrolled to; page or stream larger datasets.
510
+
-**[Benchmarks](docs/performance.md#benchmarks)** (`npm run bench`, Apple M1, Chromium, production build): at 100k rows the grid mounts in 75 ms, sorts in 49–66 ms, filters in 16–20 ms and groups with a sum in 74 ms; at 1M rows mount takes 0.6 s and a sort about 0.47 s. Scrolling stayed under 1 % slow frames at every size in Chromium. At 1M rows a cell edit commits in about 35 ms, select-all takes 60–90 ms and grouping about 190 ms (v3.8–3.10). Past the browser's height cap (645,277 rows at 52 px in Chromium and Safari, about 344,000 in Firefox) rows cannot be scrolled to; page or stream larger datasets.
509
511
510
512
---
511
513
@@ -565,11 +567,11 @@ Most React grids gatekeep essential features like **Row Grouping**, **Excel Expo
@@ -583,7 +585,7 @@ See [CONTRIBUTING.md](https://github.com/OpenCoreStack/OpenGridX/blob/main/CONTR
583
585
```bash
584
586
npm test# unit tests (jsdom)
585
587
npm run test:browser # real Chromium, Firefox and WebKit
586
-
npm run test:smoke # pack the library, install it into React 18/19 apps, run Playwright
588
+
npm run test:smoke # pack the library, install it into React 18/19, webpack and Next.js apps, run Playwright
587
589
```
588
590
589
591
Which layer to use, and how the package smoke suite works: [docs/contributing/testing.md](https://github.com/OpenCoreStack/OpenGridX/blob/main/docs/contributing/testing.md).
mean inline start / end, so in RTL `left` pins to the right edge. See `docs/features/rtl.md`.
434
471
-**Controlled props need their callback** — `paginationModel` without `onPaginationModelChange` (or `sortModel`
435
472
without `onSortModelChange`) freezes that state. Leave both out to let the grid own it.
436
473
-**Give the grid a bounded height** — without a `height` prop the grid fills its container (3.0.1+); in a flex layout wrap it in `<div style={{ flex: 1, minHeight: 0 }}>`.
0 commit comments