Initial State Reference

Summary

  • AdapTable instances can be pre-populated at Design Time with Initial Adaptable State
  • These are the objects that Users require for first time use
  • When Adaptable loads, the Initial State is saved into Adaptable State

Developers are able to populate each new AdapTable instance with Initial Adaptable State.

This means that when end-users open the new application for the first time, they won't simply see a clean AG Grid instance but, rather, one pre-loaded with Filters, Styles, Edit Rules, Reports etc.

Find Out More

These are the available sections in Initial State:

The full definition of the initialState object is:

PropertyDescription
AlertCollection of AlertDefinitions which will fire Alerts when the rule is met
ApplicationEmpty state section (only populated at Design Time) available for User to store their own data with the rest of AdapTable state.
CalculatedColumnCollection of CalculatedColumn objects that will display a value based on other cells in the row (using a Calculated Column Expression)
ChartingNamed Charts (wrapping Chart models)
CustomSortCollection of Custom Sort objects to allow some columns to be sorted in non-standard (e.g. non alphabetical) ways
DashboardLarge 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
ExportCollection of Report objects, together with name of the Current Report, as part of AdapTable export Module
FlashingCellDefinitions of which cells flash in response to data changes
FormatColumnCollection of FormatColumn objects that will style an entire column either fully or using a Condition
FreeTextColumnCollection of FreeText objects so users can make their own notes in bespoke columns that will get stored with their state (and not with the DataSource). Useful if needing a 'Comments' column.
LayoutCollection of Layouts to name (and manage) sets of column visibility, order, grouping, sorts, aggregations, filters etc.
NamedQueryNamed Queries available for use across multiple AdapTable Modules; and CurrentQuery - an Expression to run at start-up
NoteCollection of personal Notes that are edited at Cell level
PlusMinusCollection of PlusMinus rule objects to stipulate what happens when the user clicks '+' or '-' in a numeric cell
QuickSearchConfigues how Quick Search will run i.e. how and whether to highlight matching cells and to filter out non-matching rows
ScheduleCollection of Schedule objects
ShortcutCollection of Shortcut objects to aid data entry and prevent 'fat finger' issues
StatusBarConfigures the Adaptable Status Bar
StyledColumnCollection of Special Column Styles
ThemeSpecifies current Theme and lists User and System themes available for selection
ToolPanelSets order & visibility of Tool Panel controls in AdapTable ToolPanel (on right of grid)
UserInterfaceControls the visibility of AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Menus etc.)