Getting Started FAQ

View as Markdown

Summary

  • Answers to questions first-time AdapTable users typically ask
  • Covers choosing a package, installing, first run, and common runtime issues

These are the most frequently asked questions when someone installs AdapTable for the first time.

Find Out More

FAQ

Choosing a Package

Which AdapTable package should I install? Use the package that matches how you build the grid:

  • TypeScript / no UI framework — @adaptabletools/adaptable
  • React — @adaptabletools/adaptable-react-aggrid
  • Angular — @adaptabletools/adaptable-angular-aggrid
  • Vue 3 — @adaptabletools/adaptable-vue3-aggrid

Use the framework picker at the top of the docs to switch the Getting Started pages to your flavour.

Do I also need the vanilla package if I use React, Angular or Vue? No. The framework packages already include AdapTable. Install only the wrapper for your flavour.

Can I use AdapTable with AG Grid Community? No. AdapTable requires AG Grid Enterprise 36.2 or later.

Installing

What is the minimum AG Grid version? Currently it is AG Grid Enterprise 36.2. Also install the matching framework wrapper (ag-grid-react, ag-grid-angular or ag-grid-vue3) if you are not using vanilla TypeScript.

Should I use ESM or CommonJS? Use ESM wherever you can. Vanilla, React and Vue also ship parallel -cjs packages. AdapTable Angular is ESM only (the Angular package format does not support CJS).

Do I need to install ag-grid-community separately? Usually no — it arrives with ag-grid-enterprise. Install ag-grid-enterprise plus the framework wrapper for your stack.

npm warns that ag-stack is missing — do I need to install it? Usually no. AG Grid 36 installs ag-stack for you. If npm reports a missing peer, add ag-stack@>=36.2.0 and keep a single copy in the project.

Do I need a license key to get started? licenseKey is a required property in Adaptable Options. Without a valid key AdapTable shows a watermark and reduces functionality. A trial key is available if you do not yet have a commercial license.

What else do I need besides the AdapTable package? AG Grid Enterprise 36.2 or later, your framework peers (React 18/19, Angular 20 or later, or Vue 3.5.32 or later), and optionally ag-charts-enterprise if you use AG Grid Charts or Sparkline Columns. Install Plugins only for features that live outside the main package (for example Master-Detail).

After Installing

What do I do after the packages are installed? Wire AdapTable into the application — CSS, AG Grid Modules, AdaptableOptions, Initial State and the grid container. That is covered on the Integration pages: vanilla, React, Angular or Vue.

Do I need to import CSS? Yes. Import AdapTable's index.css as shown on the Integration page for your flavour. Set the AG Grid theme in gridOptions with themeQuartz from ag-grid-enterprise.

Do I need to register AG Grid Modules? Yes. AdapTable expects AG Grid Modules to be registered before the grid is created. See AG Grid Modules.

What is the difference between Adaptable Options, Adaptable API and Initial State? All 3 serve a separate purpose:

What are adaptableId, primaryKey and licenseKey? They are the three properties every AdapTable instance needs:

First Run

AG Grid is not instantiating even though I passed in Grid Options? Also provide AG Grid Modules. Pass them to Adaptable.init (vanilla) or to the Provider (modules prop / input). See AG Grid Modules.

Why am I seeing a warning that AdapTable doesn't know the type of the column? AG Grid does not set a column data type unless you do. Provide each Column with a Cell Data Type in columnDefs.

Which browsers does AdapTable support? AdapTable is guaranteed to work in Chromium browsers (Chrome, Edge, Opera, and so on). It is compatible with Firefox and Safari, but every part of every feature is not guaranteed to the same extent. Internet Explorer is not supported.

Runtime Behaviour

Why are some rows missing from my grid? Check that there are no Column Filters applied, or that the Grid Filter is not active.

Why can I not see some toolbars in my Dashboard that other users have? First check that they've not been closed; you can see available toolbars in the Dashboard section of the Settings Panel. If the toolbar is not listed there then the Module might be marked as Hidden in your Entitlements — which means you don't have access to see it.

Why are the edit and delete buttons disabled for some objects in the Settings Panel? This is likely because the Module Entitlement is ReadOnly. If so, users can access existing Adaptable Objects but cannot edit or delete them or create new ones. It might also be the case that the item in question can never be deleted (e.g. if it is the only Layout in State).

Why is my AG Grid ValueSetter not working? Check that you have not created a Validation Alert for that column. This will create an AG Grid Value Setter for the column in question, and will replace an existing Value Setter for the Column if one was set in GridOptions.

Can I remove the Loading Screen popup I see when AdapTable starts? Yes — set showLoadingScreen to false in the loadingScreenOptions section of User Interface Options.

Why do I see a watermark on the grid? AdapTable and AG Grid each need a license key. If the AdapTable license key is missing, set licenseKey in Adaptable Options. AG Grid Enterprise also needs LicenseManager.setLicenseKey from ag-grid-enterprise.

Why is the grid blank, or why is AdapTable not appearing? Typical first-run causes:

  • AdapTable CSS has not been imported
  • AG Grid Modules have not been registered
  • You are using AdapTable vanilla nad the AdapTable and AG Grid containers are missing or incorrectly wired — see AdapTable & AG Grid Divs

Testing

How do I write tests against AdapTable? Wait for the Adaptable Ready Event, then drive and assert through the Adaptable API. Stub loadState / persistState so tests do not share localStorage.

Find Out More

Performance

Why is AG Grid slowing down?

  • Check if you are using Custom Cell Components (AG Grid Cell Renderers) — these are the main culprit in slow scrolling performance.
  • Make sure that you are not re-filtering too often on ticking data. Active Column Filters and the Grid Filter re-apply on both user edits and ticks.
  • If you have multiple Value Getters consider using AG Grid's Value Cache.

Hint

This is worth trying also if you have multiple Calculated Columns that reference each other

Why is my grid starting up slowly? Ensure that your Initial Adaptable State matches the current AdapTable syntax. If Initial State uses unrecognised shapes (for example for Calculated Columns), AdapTable rewrites it automatically — which can take time as it will cause the grid to re-render.

Hint

AdapTable logs whenever Initial State is rewritten, so turn on Logging to see these messages