This is a fairly basic example of how to get started with AdapTable Vue.
AdapTable Vue is the Vue 3 Framework version of AdapTable - the market-leading, low code AG Grid extension.
For full information on how to use AdapTable Vue see the AdapTable Documentation.
For an absolute barebones example see the Adaptable Vue Support Template
The demo is built using these key packages:
The main benefit of using AdapTable Vue is that it allows you to supply custom components in AdapTable in a Vue-friendly way.
For full information on how to install and use AdapTable Vue see the AdapTable Documentation.
This demo showcases 3 Vue-specific features of AdapTable:
The demo illustrates how to pass custom Vue components to the Settings Panel:
const adaptableOptions: AdaptableOptions = {
// ...
settingsPanelOptions: {
customSettingsPanels: [
{
// CUSTOM SETTINGS PANEL COMPONENT
frameworkComponent: ({ adaptableApi }) =>
h(CustomSettingsPanel, { adaptableApi }),
name: "Custom Settings",
},
],
},
// ...
};
The demo illustrates how to pass custom Vue components to the Tool Panel:
const adaptableOptions: AdaptableOptions = {
// ...
toolPanelOptions: {
toolPanelOrder: ["adaptable", "columns", "filters"],
customToolPanels: [
{
// CUSTOM TOOLPANEL COMPONENT
// wraps a reusable Vue component (same component is used in a custom toolbar)
name: "CustomQuickSearch",
title: "Custom Quick Search",
frameworkComponent: ({ adaptableApi }) => {
return h(CustomQuickSearch, {
onChange: (searchText: string) => {
adaptableApi.quickSearchApi.runQuickSearch(searchText);
},
});
},
},
],
},
// ...
};
The demo illustrates how to pass custom Vue components to the Dashboard Toolbar:
const adaptableOptions: AdaptableOptions = {
// ...
dashboardOptions: {
customToolbars: [
{
// CUSTOM TOOLBAR COMPONENT
// wraps a reusable Vue component (same component is used in a custom tool panel)
name: "CustomQuickSearch",
title: "Custom Quick Search",
frameworkComponent: ({ adaptableApi }) => {
return h(CustomQuickSearch, {
onChange: (searchText: string) => {
adaptableApi.quickSearchApi.runQuickSearch(searchText);
},
});
},
},
],
},
// ...
};
For more information on how to use Vue Components in AdapTable see the AdapTable Documentation.
npm install
npm run dev
An AdapTable Licence provides access to all product features as well as quarterly updates and enhancements through the lifetime of the licence, comprehensive support, and access to all 3rd party libraries.
Licences can be purchased individually, for a team, for an organisation or for integration into software for onward sale.
We can make a Trial Licence available for a short period of time to allow you to try out AdapTable for yourself.
Please contact [email protected]
or read the Licence Documentation for more information.
To see AdapTable Vue in action visit Adaptable Documentation which contains a large number of small demos each showing a different feature, function or option in AdapTable Vue (using dummy data sets).
Additionally, there is a page with larger 'recipe-type' Demos at the Adaptable Tools website.
Developers can learn how to access AdapTable Vue programmatically at AdapTable Documentation.
General information about Adaptable Tools is available at our Website
For all support enquiries please raise a Support Ticket.