Adaptable

#Adaptable DataGrid

The Enterprise React DataGrid — fully adaptable to every use-case.

Adaptable DataGrid is a high-level React data grid built for enterprise applications and for the new wave of AI agents: your grid configuration lives in one state object and it's easy to write and persist.

Instead of focusing on implementation details, event handlers and state management, you describe your views — column order, grouping, aggregations, sorting — and get a complete, themeable product with a dashboard, view switching, quick search and persistable user state out of the box.

#Why a high-level grid?

  • Single state, not hundreds of properties — datagrids are historically known to have a large API surface area and generally have hundreds of ways you can configure them, via lots of disparate properties. With the Adaptable DataGrid, you'll have a single state object that's easier to reason about.

  • Persistent configuration you'll want your datagrid to look the same when you come back. Adaptable comes with out-of-the-box state persistence that restores the last state when you reopen the page.

  • Full client-side and server-side support — choose where the data operations run: sorting, filtering, grouping, pivoting and aggregation run either in the browser or on your server, with the rows loaded on demand by the server, optionally in batches (TDGP works out of the box).

  • Composable UI — use the batteries-included <Adaptable.Workspace />, or compose your desired configuration by using Adaptable.UI, Adaptable.UI.DataGrid, Adaptable.UI.Dashboard, pickers and editors yourself.

#At a glance

#
A grid in one file
import { Adaptable, type AdaptableUserState } from '@adaptabletools/datagrid-react';
import '@adaptabletools/datagrid-react/index.css';

import { data } from '';

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

export default function App() {
  return (
    <Adaptable.Provider
      adaptableId="my-app"
      primaryKey="id"
      data={data}
      defaultState={defaultState}
    >
      <Adaptable.Workspace />
    </Adaptable.Provider>
  );
}
Start here

Head to Getting Started for a working setup, or open the full-screen demo to see where this is going.