AdapTable State Key

View as Markdown

Summary

  • The AdapTable State Key is used primarily to identify the current AdapTable instance when using local storage
  • But it can also be used to distinguish between multiple different remote state collections

The adaptableStateKey property is primarily used in conjunction with Adaptable State.

It is used to identify the current AdapTable instance when using Local Storage

Note

If this is not provided, AdapTable will use the value provided in the adaptableId property

The property is set in the root of Adaptable Options.

Hint

  • You can also use adaptableStateKey to distinguish multiple AdapTable States when using Remote Storage
  • Set it when you want the persistence identity to differ from the display adaptableId (for example multiple environments, or resetting stored State without renaming the Grid)

adaptableStateKey

Default: undefined
String
Identifier used as localStorage persistence key for AdaptableState

Base Context

The value of the adaptableStateKey property is supplied in the very commonly used Base Context; this is the base of the xxxContext properties supplied to most functions in Adaptable Options, and also the base of the xxxEventInfo object included in all Adaptable Events

AdapTable Resources