AdaptableApi
Run-time access to an AdapTable instance.
Each property is the API for one module. Call the module API for that module's
behaviour; use gridApi for row data, selection and cell values, and agGridApi
only when AdapTable does not wrap the AG Grid call.
export interfaceProperties
| Property | Type | Description |
|---|---|---|
| actionColumnApi | ActionColumnApi | Action Columns and the controls they render: buttons, toggles, links, selects, commands, menus and forms. |
| agGridApi | AgGridApi | The AG Grid API. Prefer the AdapTable APIs on this object; use this when AdapTable does not wrap the call. |
| alertApi | AlertApi | Alert Definitions and fired alerts: add, edit, suspend, evaluate and display them. |
| applicationApi | ApplicationApi | Application State: the key/value entries the host application stores alongside AdapTable State. |
| bulkUpdateApi | BulkUpdateApi | Bulk Update: the value that will be written across the selected cells. |
| calculatedColumnApi | CalculatedColumnApi | Calculated Columns and the expressions that produce their values. |
| calendarApi | CalendarApi | Working days and holidays, using the weekends and holiday list in Calendar Options. |
| cellSummaryApi | CellSummaryApi | The Cell Summary operation for the current selection, and its value. |
| chartingApi | ChartingApi | Chart Definitions, currently open charts, and the containers they are shown in. |
| columnApi | ColumnApi | Columns: lookup by id or friendly name, data type, and the matching AG Grid column definition. |
| columnMenuApi | ColumnMenuApi | The Column Menu: open it, and build its items. |
| columnScopeApi | ColumnScopeApi | Column Scope: which columns an object applies to, and whether a column is in a scope. |
| commentApi | CommentApi | Cell Comments: threads, and adding or deleting a comment. |
| contextMenuApi | ContextMenuApi | The Context Menu: build its items. |
| customSortApi | CustomSortApi | Custom Sorts: non-standard sort orders for a column's values. |
| dashboardApi | DashboardApi | The Dashboard: tabs, toolbars, visibility and floating position. |
| dataChangeHistoryApi | DataChangeHistoryApi | Data Change History: the record of cell value changes. |
| dataImportApi | DataImportApi | Data Import. Opens the Data Import wizard. |
| dataSetApi | DataSetApi | Data Sets: the named sets of rows the grid can switch between. |
| destroy | (config?:DestroyConfig) => void | Cleanup method - call only for vanilla JavaScript components, as framework components handle cleanup on destroy/unmount. By default, it unmounts the Adaptable component and destroys the AG Grid instance. |
| entitlementApi | EntitlementApi | Entitlements: the access level of each module. |
| eventApi | EventApi | AdapTable events. on subscribes and returns an unsubscribe function; off removes a listener. |
| exportApi | ExportApi | Reports: run an export, and manage report definitions, formats, destinations and schedules. |
| expressionApi | ExpressionApi | AdapTableQL expressions: validate, evaluate and open the expression editor. |
| fdc3Api | Fdc3Api | FDC3: broadcast contexts and raise intents from the grid. |
| filterApi | FilterApi | Filtering. columnFilterApi is per-column filters, gridFilterApi is the grid filter, and clearAllFilters clears both. |
| flashingCellApi | FlashingCellApi | Flashing Cells: which cells flash when their value changes, and in which direction. |
| formatColumnApi | FormatColumnApi | Format Columns: cell styles and display formats, including conditions. |
| freeTextColumnApi | FreeTextColumnApi | Free Text Columns and the text values stored against each row. |
| gridApi | GridApi | Grid data and selection: rows, cell values, filtering, sorting, row nodes and edited cells. |
| isDestroyed | () => boolean | Whether the Adaptable instance has been destroyed |
| isReady | () => boolean | Whether AdapTable has finished initialising and is ready to use. Returns true once AG Grid has been created, Adaptable State has been applied to it (columns, theme, filters, sorts, Quick Search and the current Layout) and the AdapTable UI has been rendered. It is already true when plugins run onAdaptableReady and when the AdaptableReady event fires.Returns false while AdapTable is still initialising, and after it has been destroyed (see isDestroyed).To run code as soon as AdapTable is ready, subscribe to the AdaptableReady event instead of polling this method; a listener added after the event has fired is still called. |
| layoutApi | LayoutApi | Layouts: the current Table or Pivot Layout, and creating, selecting and extending Layouts. |
| namedQueryApi | NamedQueryApi | Named Queries: saved AdapTableQL queries that can be run on their own. |
| noteApi | NoteApi | Notes attached to cells. |
| optionsApi | OptionsApi | The Adaptable Options this instance was created with. Each getter returns one options section, read-only. |
| pluginsApi | PluginsApi | Installed plugins. getipushpullPluginApi, getOpenFinPluginApi and getInteropioPluginApi return the plugin API when that plugin is loaded. |
| plusMinusApi | PlusMinusApi | Plus / Minus: the nudges that increment or decrement a numeric cell. |
| quickSearchApi | QuickSearchApi | Quick Search: the current search text and the styles used for matches. |
| rowFormApi | RowFormApi | Row Forms. Opens the form to create, clone or edit a row, and deletes a row by primary key. |
| settingsPanelApi | SettingsPanelApi | The Settings Panel. Open it on a module, or on a custom settings panel. |
| shortcutApi | ShortcutApi | Shortcuts: keystrokes that change a numeric cell by a fixed amount. |
| smartEditApi | SmartEditApi | Smart Edit: the arithmetic operation applied to the selected numeric cells. |
| stateApi | StateApi | AdapTable State: initial state, the full state, and the state of one module. |
| statusBarApi | StatusBarApi | The Status Bar and the AdapTable panels placed in it. |
| styledColumnApi | StyledColumnApi | Styled Columns: gradient, percent bar, badge, bullet chart, rating, sparkline, range bar and icon styles. |
| systemStatusApi | SystemStatusApi | The System Status message shown in the toolbar and tool panel. |
| teamSharingApi | TeamSharingApi | Team Sharing: objects shared between users, and importing a shared entity. |
| themeApi | ThemeApi | Themes: the current theme, and the shipped and user themes that can be selected. |
| toolPanelApi | ToolPanelApi | The Tool Panel beside the grid, including custom tool panels. |
| userInterfaceApi | UserInterfaceApi | User Interface: custom icons, editable and read-only cell styles, object tags, the progress indicator, custom windows, and showing or hiding the AdapTable UI. |
Property Details
actionColumnApi
Action Columns and the controls they render: buttons, toggles, links, selects, commands, menus and forms.
actionColumnApi: ActionColumnApi;Property Value
agGridApi
The AG Grid API. Prefer the AdapTable APIs on this object; use this when AdapTable does not wrap the call.
agGridApi: AgGridApi;Property Value
AgGridApi
alertApi
Alert Definitions and fired alerts: add, edit, suspend, evaluate and display them.
alertApi: AlertApi;Property Value
applicationApi
Application State: the key/value entries the host application stores alongside AdapTable State.
applicationApi: ApplicationApi;Property Value
bulkUpdateApi
Bulk Update: the value that will be written across the selected cells.
bulkUpdateApi: BulkUpdateApi;Property Value
calculatedColumnApi
Calculated Columns and the expressions that produce their values.
calculatedColumnApi: CalculatedColumnApi;Property Value
calendarApi
Working days and holidays, using the weekends and holiday list in Calendar Options.
calendarApi: CalendarApi;Property Value
cellSummaryApi
The Cell Summary operation for the current selection, and its value.
cellSummaryApi: CellSummaryApi;Property Value
chartingApi
Chart Definitions, currently open charts, and the containers they are shown in.
chartingApi: ChartingApi;Property Value
columnApi
Columns: lookup by id or friendly name, data type, and the matching AG Grid column definition.
columnApi: ColumnApi;Property Value
columnMenuApi
The Column Menu: open it, and build its items.
columnMenuApi: ColumnMenuApi;Property Value
columnScopeApi
Column Scope: which columns an object applies to, and whether a column is in a scope.
columnScopeApi: ColumnScopeApi;Property Value
commentApi
Cell Comments: threads, and adding or deleting a comment.
commentApi: CommentApi;Property Value
contextMenuApi
The Context Menu: build its items.
contextMenuApi: ContextMenuApi;Property Value
customSortApi
Custom Sorts: non-standard sort orders for a column's values.
customSortApi: CustomSortApi;Property Value
dashboardApi
The Dashboard: tabs, toolbars, visibility and floating position.
dashboardApi: DashboardApi;Property Value
dataChangeHistoryApi
Data Change History: the record of cell value changes.
dataChangeHistoryApi: DataChangeHistoryApi;Property Value
dataImportApi
Data Import. Opens the Data Import wizard.
dataImportApi: DataImportApi;Property Value
dataSetApi
Data Sets: the named sets of rows the grid can switch between.
dataSetApi: DataSetApi;Property Value
destroy
Cleanup method - call only for vanilla JavaScript components, as framework components handle cleanup on destroy/unmount. By default, it unmounts the Adaptable component and destroys the AG Grid instance.
destroy: (config?: DestroyConfig) => void;Property Value
(config?:DestroyConfig) => void
entitlementApi
Entitlements: the access level of each module.
entitlementApi: EntitlementApi;Property Value
eventApi
AdapTable events. on subscribes and returns an unsubscribe function; off removes a listener.
eventApi: EventApi;Property Value
exportApi
Reports: run an export, and manage report definitions, formats, destinations and schedules.
exportApi: ExportApi;Property Value
expressionApi
AdapTableQL expressions: validate, evaluate and open the expression editor.
expressionApi: ExpressionApi;Property Value
fdc3Api
FDC3: broadcast contexts and raise intents from the grid.
fdc3Api: Fdc3Api;Property Value
filterApi
Filtering. columnFilterApi is per-column filters, gridFilterApi is the grid filter, and clearAllFilters clears both.
filterApi: FilterApi;Property Value
flashingCellApi
Flashing Cells: which cells flash when their value changes, and in which direction.
flashingCellApi: FlashingCellApi;Property Value
formatColumnApi
Format Columns: cell styles and display formats, including conditions.
formatColumnApi: FormatColumnApi;Property Value
freeTextColumnApi
Free Text Columns and the text values stored against each row.
freeTextColumnApi: FreeTextColumnApi;Property Value
gridApi
Grid data and selection: rows, cell values, filtering, sorting, row nodes and edited cells.
gridApi: GridApi;Property Value
isDestroyed
Whether the Adaptable instance has been destroyed
isDestroyed: () => boolean;Property Value
() => boolean
isReady
Whether AdapTable has finished initialising and is ready to use.
Returns true once AG Grid has been created, Adaptable State has been applied to it (columns, theme, filters, sorts, Quick Search and the current Layout) and the AdapTable UI has been rendered. It is already true when plugins run onAdaptableReady and when the AdaptableReady event fires.
Returns false while AdapTable is still initialising, and after it has been destroyed (see isDestroyed).
To run code as soon as AdapTable is ready, subscribe to the AdaptableReady event instead of polling this method; a listener added after the event has fired is still called.
isReady: () => boolean;Property Value
() => boolean
layoutApi
Layouts: the current Table or Pivot Layout, and creating, selecting and extending Layouts.
layoutApi: LayoutApi;Property Value
namedQueryApi
Named Queries: saved AdapTableQL queries that can be run on their own.
namedQueryApi: NamedQueryApi;Property Value
noteApi
Notes attached to cells.
noteApi: NoteApi;Property Value
optionsApi
The Adaptable Options this instance was created with. Each getter returns one options section, read-only.
optionsApi: OptionsApi;Property Value
pluginsApi
Installed plugins. getipushpullPluginApi, getOpenFinPluginApi and getInteropioPluginApi return the plugin API when that plugin is loaded.
pluginsApi: PluginsApi;Property Value
plusMinusApi
Plus / Minus: the nudges that increment or decrement a numeric cell.
plusMinusApi: PlusMinusApi;Property Value
quickSearchApi
Quick Search: the current search text and the styles used for matches.
quickSearchApi: QuickSearchApi;Property Value
rowFormApi
Row Forms. Opens the form to create, clone or edit a row, and deletes a row by primary key.
rowFormApi: RowFormApi;Property Value
settingsPanelApi
The Settings Panel. Open it on a module, or on a custom settings panel.
settingsPanelApi: SettingsPanelApi;Property Value
shortcutApi
Shortcuts: keystrokes that change a numeric cell by a fixed amount.
shortcutApi: ShortcutApi;Property Value
smartEditApi
Smart Edit: the arithmetic operation applied to the selected numeric cells.
smartEditApi: SmartEditApi;Property Value
stateApi
AdapTable State: initial state, the full state, and the state of one module.
stateApi: StateApi;Property Value
statusBarApi
The Status Bar and the AdapTable panels placed in it.
statusBarApi: StatusBarApi;Property Value
styledColumnApi
Styled Columns: gradient, percent bar, badge, bullet chart, rating, sparkline, range bar and icon styles.
styledColumnApi: StyledColumnApi;Property Value
systemStatusApi
The System Status message shown in the toolbar and tool panel.
systemStatusApi: SystemStatusApi;Property Value
teamSharingApi
Team Sharing: objects shared between users, and importing a shared entity.
teamSharingApi: TeamSharingApi;Property Value
themeApi
Themes: the current theme, and the shipped and user themes that can be selected.
themeApi: ThemeApi;Property Value
toolPanelApi
The Tool Panel beside the grid, including custom tool panels.
toolPanelApi: ToolPanelApi;Property Value
userInterfaceApi
User Interface: custom icons, editable and read-only cell styles, object tags, the progress indicator, custom windows, and showing or hiding the AdapTable UI.
userInterfaceApi: UserInterfaceApi;