#Adaptable DataGrid
The Enterprise Angular DataGrid — fully adaptable to every use-case.
Adaptable DataGrid is a high-level Angular 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.
Adaptable DataGrid for Angular is the same product as the React one, with the same state and the same UI, as standalone Angular components: <adaptable-provider>, <adaptable-ui>, <adaptable-workspace>. Pages and examples are moved to Angular one by one: a page or an example marked React has no Angular version yet, and what it describes applies to Angular as well. Parts of the UI around the grid (the dashboard, the settings panel, the editors) are still being ported: until then they render nothing.
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-data-grid>,<adaptable-dashboard>, pickers and editors yourself.
#At a glance
import { Component } from '@angular/core';
import {
AdaptableProvider,
AdaptableWorkspace,
type AdaptableUserState,
} from '@adaptabletools/datagrid-angular';
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' }],
},
};
@Component({
selector: 'demo-root',
imports: [AdaptableProvider, AdaptableWorkspace],
template: `
<adaptable-provider
adaptableId="my-app"
primaryKey="id"
[data]="data"
[defaultState]="defaultState"
>
<adaptable-workspace />
</adaptable-provider>
`,
})
export default class App {
protected readonly data = data;
protected readonly defaultState = defaultState;
}Head to Getting Started for a working setup, or open the full-screen demo to see where this is going.