NextGrid supports five mutually exclusive data models so you can match memory usage, processing location, and update semantics to your dataset.
| Data Model |
Best For |
Sorting & Filtering |
Grouping / Tree |
Pivot |
| Client Array |
Up to ~100k rows in memory |
Client-side |
✓ Grouping & Tree |
✓ Client Pivot |
Lazy RowSource |
1M+ rows generated or indexed on demand |
App-managed |
✗ |
✗ |
| Infinite |
Large lists with block caching |
Server (RemoteQuery) |
✗ |
✗ |
| Server-Side |
Large remote datasets with hierarchy |
Server (RemoteQuery) |
✓ Lazy server grouping |
✓ Server Pivot |
| Viewport |
Live streaming tickers & push updates |
Server (RemoteQuery) |
✗ |
✗ |
| Data Model |
Configuration |
Editing Mutation |
Export Scope |
| Client Array |
rowData |
Direct immutable copy + undo/redo |
filtered, page, selected |
Lazy RowSource |
rowSource |
cellEditRequest event |
filtered, page, selected |
| Infinite |
rowModelType: 'infinite' + datasource |
cellEditRequest event |
loaded only |
| Server-Side |
rowModelType: 'serverSide' + datasource |
cellEditRequest event |
loaded only |
| Viewport |
rowModelType: 'viewport' + viewportDatasource |
cellEditRequest event |
loaded only |
- Mutual Exclusion: Provide at most one of
rowData, rowSource, rowModelType: 'infinite' | 'serverSide' (with datasource), or rowModelType: 'viewport' (with viewportDatasource). Combining rowData and rowSource or mixing remote options throws at construction.
- Undo/Redo History:
history is only supported on client/synchronous grids (rowModelType unset). Enabling history on remote models throws at construction.
- Generated UUIDs:
generateRowId: 'uuid' is restricted to client rowData arrays; rowSource and remote models require deterministic IDs (getRowId, rowKey, or generateRowId: 'index').