#Adaptable DataGrid
The Enterprise Vue DataGrid — fully adaptable to every use-case.
Adaptable DataGrid is a high-level Vue 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 Vue is the same product as the React one, with the same state, the same UI and the same components under Adaptable. Pages and examples are moved to Vue one by one: a page or an example marked React has no Vue version yet, and what it describes applies to Vue as well.
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 usingAdaptable.UI,Adaptable.UI.DataGrid,Adaptable.UI.Dashboard, pickers and editors yourself.
#At a glance
<script setup lang="ts">
import { Adaptable, type AdaptableUserState } from '@adaptabletools/datagrid-vue';
import '@adaptabletools/datagrid-vue/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' }],
},
};
</script>
<template>
<Adaptable.Provider
adaptableId="my-app"
primaryKey="id"
:data="data"
:defaultState="defaultState"
>
<Adaptable.Workspace />
</Adaptable.Provider>
</template>Head to Getting Started for a working setup, or open the full-screen demo to see where this is going.