Adaptable
NewThe React DataGrid built for people and AI agents

The go-to React DataGrid for the Enterprise & AI

One state object describes the whole grid: views, dashboards, server-side data and per-user persistence, all in one component. Easy for your team to write, and just as easy for an AI agent.

Get started →Full-screen demo ↗npm install @adaptabletools/datagrid-react@canary

Also available for Vue and Angular.

1Promptwhat the user asks

Scripted prompts: no model runs here. They show the state an agent's tool call would write, applied to the live grid below.

2State patchview · JSON
{
  "view": {
    "columnSorting": [
      {
        "columnId": "salary",
        "dir": "desc"
      }
    ]
  }
}
3The gridlive · re-renders from state
launching grid…
From the makers of AdapTable for AG GridReactClient- or server-side dataLight & dark, any accent
Built for AI agents

Agents write state, not code.

Everything the grid shows is described by one plain, typed object. A person edits it through the UI; an agent edits it as JSON. Nothing to wire up, no imperative calls to get right.

App.tsxdefaultState
import { Adaptable, type AdaptableUserState } from '@adaptabletools/datagrid-react';
import { data } from './data';

const defaultState: AdaptableUserState = {
  globalEntities: {
    availableColumns: {
      firstName: { field: 'firstName', dataType: 'text' },
      salary: { field: 'salary', dataType: 'number' },
      preferredLanguage: { field: 'preferredLanguage', dataType: 'text' },
    },
  },
  dashboard: { top: { widgets: [{ id: 'views', type: 'view' }] } },
  view: {
    currentViewId: 'default',
    views: [{ id: 'default', label: 'All rows' }],
  },
};

export default function App() {
  return (
    <Adaptable.Provider adaptableId="my-grid" primaryKey="id" data={data}
      defaultState={defaultState}
    >
      <Adaptable.UI />
    </Adaptable.Provider>
  );
}
01

One JSON object

Columns, views, dashboard, styles and alerts all live in one state object. An agent reads it, changes it, and the grid follows.

02

Queries are plain strings

Filters, conditions and calculated columns are AdaptableQL expressions, which language models write well.

[salary] > 150000 AND [preferredLanguage] = "TypeScript"
03

Typed, with a reference

Every slice of state is a TypeScript type with a documented reference, so tools and agents can check what they write.

04

Changes are diffable

Persistence stores a JSON patch against your default state, so every change a person or an agent makes can be reviewed.

[{ "op": "replace", "path": ["view", "currentViewId"], … }]
Live demo

A complete application,
not a component kit.

10,000 developers, loaded once in the browser or streamed from a live TDGP server. Search, sort, group and re-theme. Then click the grid and try it yourself.

LIVELive demo · click the grid to take overOpen full-screen demo ↗
launching grid…
Built for the enterprise

Everything a serious grid needs, already in the box.

The features data-heavy teams expect, as part of the same state object, rather than as plugins you wire up yourself.

Views & dashboard

Curated views your users switch between, and save.

Column order, sorting, grouping, aggregations and filters, all named as a view. The dashboard gives users the view picker, quick search and more.

All developersBy countryBy stack
CountryDevelopersAvg salary
🇺🇸 USA1,284$148,200
🇬🇧 United Kingdom1,102$131,900
🇩🇪 Germany986$127,400
🇯🇵 Japan874$139,600
Views
State & persistence

It looks the same when they come back.

State is persisted out of the box, to localStorage or your own backend, as a small JSON patch.

[{ "op": "replace", "path": ["view", "currentViewId"], "value": "by-country" }]
State
Client or server · TDGP

Run every operation where it belongs.

BrowserTDGPServer

Sort, group, pivot and aggregate in the browser, or on your server with rows streamed in batches.

Local & remote data
AdaptableQL

One expression language for filters, styles and columns.

[salary] > 150000 AND [preferredLanguage] = "TypeScript"

Readable strings stored in state, evaluated against your rows and kept in sync as the data changes.

AdaptableQL
Styled & flashing cells

Make changes impossible to miss.

142.10+2.31%$220,400−0.84%

Conditional styles, and cells that flash when their values change.

Styled cells
Filtering

Column filters & grid filter

Per-column filters plus one AdaptableQL filter over the whole grid.

Column filters
Quick search

Find it, everywhere

Quick search
Alerts

Rules that tell you

Salary above $200k in Berlin
Alerts
Cell notes

Annotate any cell

$184,000
Cell notes
Calculated columns

New columns from an expression

Derived values written in AdaptableQL, kept in sync with the data.

Calculated columns
Master–detail

Rows that open up

Expand a row to show a detail area, typically another grid.

Master–detail
Permissioning

Who sees what

Decide which features are available, and to which users.

Permissioning
Theming & accents

Your brand, both modes

Theming
Client or server

Same grid. You choose the engine.

Keep the rows in the browser, or let your server do the heavy lifting. The views, the dashboard and the persisted state stay exactly the same.

In the browser

Load the data once and every operation runs client-side: instant sorting, grouping, pivoting and aggregation.

  • sort
  • filter
  • group
  • pivot
  • aggregate
data={rows}

On your server

The same operations run on the server and rows stream in batches as users scroll. TDGP works out of the box.

  • lazy batches
  • server-side grouping
  • server-side pivot
dataSource={{ mode: 'server' }}
Theming

Light, dark, and your accent.

Both modes ship in the box, and one accent preset re-tints the whole grid, including its menus and editors. Every value is a CSS variable you can override.

Get started

Build the grid your users, and your agents, can drive.

Install the package, describe your first view, and ship a complete data application.

Read the docs →npm install @adaptabletools/datagrid-react@canary