InitialState

View as Markdown

Initial Adaptable State which is populated at design-time and used to create Adaptable State; must include at least one Layout (unless autoCreateLayout is set)

TypeScript
export interface

Properties

PropertyTypeDescription
AlertAlertStateCollection of AlertDefinitions which will fire Alerts when the rule is met
ApplicationApplicationStateEmpty state section (only populated at Design Time) available for User to store their own data with the rest of AdapTable state.
CalculatedColumnCalculatedColumnStateCollection of CalculatedColumn objects that will display a value based on other cells in the row (using a Calculated Column Expression)
ChartingChartingStateSaved charts. AG Grid charts are ChartDefinitions (Name and Model). Application charts are ExternalChartDefinitions (Name and Data).
CustomSortCustomSortStateCollection of Custom Sort objects to allow some columns to be sorted in non-standard (e.g. non alphabetical) ways
DashboardDashboardStateLarge series of properties to give users full control over the look and feel of the Dashboard - the section above the grid with toolbars and buttons
ExportExportStateCollection of Report objects, together with name of the Current Report, as part of AdapTable export Module
FlashingCellFlashingCellStateFlashing Cell definitions. Each one names a column scope and a boolean rule, and flashes a cell, a row, or an aggregated cell.
FormatColumnFormatColumnStateFormat Columns. Each one colours cells, changes how values are displayed, or both, for a column scope. Omit Rule to apply it on every row.
FreeTextColumnFreeTextColumnStateCollection of FreeText objects that define user-owned columns whose cell values are stored in Adaptable State (not the grid DataSource). Use for editable per-row fields such as ops notes, flags, or codes — distinct from cell-level Notes and Comments.
LayoutLayoutStateCollection of Layouts to name (and manage) sets of column visibility, order, grouping, sorts, aggregations, filters etc.
Required unless layoutOptions.autoCreateLayout is set.
NamedQueryNamedQueryStateNamed Queries other expressions can call with QUERY('Name'). A boolean query can be a Grid Filter or an Alert rule.
NoteNoteStateNotes. One piece of text on one cell, located by primary key and column id.
PlusMinusPlusMinusStatePlus Minus module: nudge rules. Optional IncrementKey / DecrementKey on each nudge
accept either a single key or a keyboard shortcut combination (e.g. shift+Enter); when
omitted, AdaptableOptions.plusMinusOptions applies, then + / -.
QuickSearchQuickSearchStateQuick Search text restored at startup, and the styles used to highlight matches.
ShortcutShortcutStateCollection of Shortcut objects to aid data entry and prevent 'fat finger' issues
StatusBarStatusBarStateStatus bars. Each Key matches an AG Grid statusPanels entry whose component is AdaptableStatusPanel.
StyledColumnStyledColumnStateStyled Columns. Each entry draws one column with a single visual style.
ThemeThemeStateActive theme (light, dark or os) and which shipped themes are offered.
ToolPanelToolPanelStateSets order & visibility of Tool Panel controls in AdapTable ToolPanel (on right of grid)
UserInterfaceUserInterfaceStateControls the visibility of AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Menus etc.)

Property Details

Alert

Collection of AlertDefinitions which will fire Alerts when the rule is met

TypeScript
Alert?: AlertState;
Property Value

AlertState

Application

Empty state section (only populated at Design Time) available for User to store their own data with the rest of AdapTable state.

TypeScript
Application?: ApplicationState;
Property Value

ApplicationState

CalculatedColumn

Collection of CalculatedColumn objects that will display a value based on other cells in the row (using a Calculated Column Expression)

TypeScript
CalculatedColumn?: CalculatedColumnState;
Property Value

CalculatedColumnState

Charting

Saved charts. AG Grid charts are ChartDefinitions (Name and Model). Application charts are ExternalChartDefinitions (Name and Data).

TypeScript
Charting?: ChartingState;
Property Value

ChartingState

CustomSort

Collection of Custom Sort objects to allow some columns to be sorted in non-standard (e.g. non alphabetical) ways

TypeScript
CustomSort?: CustomSortState;
Property Value

CustomSortState

Dashboard

Large series of properties to give users full control over the look and feel of the Dashboard - the section above the grid with toolbars and buttons

TypeScript
Dashboard?: DashboardState;
Property Value

DashboardState

Export

Collection of Report objects, together with name of the Current Report, as part of AdapTable export Module

TypeScript
Export?: ExportState;
Property Value

ExportState

FlashingCell

Flashing Cell definitions. Each one names a column scope and a boolean rule, and flashes a cell, a row, or an aggregated cell.

TypeScript
FlashingCell?: FlashingCellState;
Property Value

FlashingCellState

FormatColumn

Format Columns. Each one colours cells, changes how values are displayed, or both, for a column scope. Omit Rule to apply it on every row.

TypeScript
FormatColumn?: FormatColumnState;
Property Value

FormatColumnState

FreeTextColumn

Collection of FreeText objects that define user-owned columns whose cell values are stored in Adaptable State (not the grid DataSource). Use for editable per-row fields such as ops notes, flags, or codes — distinct from cell-level Notes and Comments.

TypeScript
FreeTextColumn?: FreeTextColumnState;
Property Value

FreeTextColumnState

Layout

Collection of Layouts to name (and manage) sets of column visibility, order, grouping, sorts, aggregations, filters etc. Required unless layoutOptions.autoCreateLayout is set.

TypeScript
Layout?: LayoutState;
Property Value

LayoutState

NamedQuery

Named Queries other expressions can call with QUERY('Name'). A boolean query can be a Grid Filter or an Alert rule.

TypeScript
NamedQuery?: NamedQueryState;
Property Value

NamedQueryState

Note

Notes. One piece of text on one cell, located by primary key and column id.

TypeScript
Note?: NoteState;
Property Value

NoteState

PlusMinus

Plus Minus module: nudge rules. Optional IncrementKey / DecrementKey on each nudge accept either a single key or a keyboard shortcut combination (e.g. shift+Enter); when omitted, AdaptableOptions.plusMinusOptions applies, then + / -.

TypeScript
PlusMinus?: PlusMinusState;
Property Value

PlusMinusState

QuickSearch

Quick Search text restored at startup, and the styles used to highlight matches.

TypeScript
QuickSearch?: QuickSearchState;
Property Value

QuickSearchState

Shortcut

Collection of Shortcut objects to aid data entry and prevent 'fat finger' issues

TypeScript
Shortcut?: ShortcutState;
Property Value

ShortcutState

StatusBar

Status bars. Each Key matches an AG Grid statusPanels entry whose component is AdaptableStatusPanel.

TypeScript
StatusBar?: StatusBarState;
Property Value

StatusBarState

StyledColumn

Styled Columns. Each entry draws one column with a single visual style.

TypeScript
StyledColumn?: StyledColumnState;
Property Value

StyledColumnState

Theme

Active theme (light, dark or os) and which shipped themes are offered.

TypeScript
Theme?: ThemeState;
Property Value

ThemeState

ToolPanel

Sets order & visibility of Tool Panel controls in AdapTable ToolPanel (on right of grid)

TypeScript
ToolPanel?: ToolPanelState;
Property Value

ToolPanelState

UserInterface

Controls the visibility of AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Menus etc.)

TypeScript
UserInterface?: UserInterfaceState;
Property Value

UserInterfaceState