AdaptableStateFunctionConfig

State Function Config object passed into all State Options functions

TypeScript
export interface

Properties

PropertyTypeDescription
actionNamestringName of the action that triggered the state change.
adaptableApiAdaptableApiAdaptable API
adaptableContextanyCustom application Context provided in AdaptableOptions.adaptableContext
adaptableIdstringId of current Adaptable instance
adaptableStateKeystringState Key being used
previousStateAdaptableStatePrevious state before the action was applied. This is useful for comparing changes or reverting if necessary.
userNamestringcurrent Adaptable user

Property Details

actionName

Name of the action that triggered the state change.

TypeScript
actionName?: string;
Property Value

string

adaptableApi

Adaptable API

TypeScript
adaptableApi: AdaptableApi;
Property Value

AdaptableApi

adaptableContext

Custom application Context provided in AdaptableOptions.adaptableContext

TypeScript
adaptableContext: any;
Property Value

any

adaptableId

Id of current Adaptable instance

TypeScript
adaptableId: string;
Property Value

string

adaptableStateKey

State Key being used

TypeScript
adaptableStateKey: string;
Property Value

string

previousState

Previous state before the action was applied. This is useful for comparing changes or reverting if necessary.

TypeScript
previousState?: AdaptableState;
Property Value

AdaptableState

userName

current Adaptable user

TypeScript
userName: string;
Property Value

string