Adaptable

#AdaptableUserState

The state object you pass to the Adaptable.Provider — via the state prop (controlled) or defaultState (uncontrolled). It describes the current state of the Adaptable instance: views, styled cells, custom sorts, dashboard, quick search and all the other Adaptable modules.

Each module has its own property in the state object — e.g. for dashboard use state.dashboard and for the view module use state.view.

#
The view module in the state
const defaultState: AdaptableUserState = {
  globalEntities: {
    availableColumns,
  },
  View module state
  view: {
    currentViewId: 'main',
    views: [{ id: 'main', label: 'Main' }],
  },
};
15 props

#alertAlertState

Controls the state for the alerts

#cellNoteCellNoteState

Cell notes — per-cell discussion threads, mentions and read marks

#configConfigState

Controls the state for the Config module - this includes the color palette and the application name.

#contextMenuContextMenuState

Configures the state for the Context Menu module

#customSortCustomSortState

Configures the state for the Custom Sort module

#dashboardDashboardState

Controls the Dashboard state

#exportExportState

Controls the state for the export module - configures which reports are available

#flashingCellFlashingCellsState

Controls the state for the Flashing Cells module

#globalEntitiesAdaptableStateEntities

Defines what columns are available in Adaptable.

#gridGridState

Controls the state for managing grid properties used to render the grid - row height, column header height, zebra rows and more.

#namedQueryNamedQueryState

Named queries — reusable AQL expressions referenced as QUERY("name")

#quickSearchQuickSearchState

Controls the Quick Search state

#styledCellStyledCellState

Handles the state for styled cells definitions

#themeThemeState

Specifies the theme for the AdapTable instance

#viewrequiredAdaptableViewState

Configures the state for Views.

See AdaptableViewState for more type information.