AdaptableStateFunctionConfig
State Function Config object passed into all State Options functions
TypeScript
export interfaceProperties
| Property | Type | Description |
|---|---|---|
| actionName | string | Name of the action that triggered the state change. |
| adaptableApi | AdaptableApi | Adaptable API |
| adaptableContext | any | Custom application Context provided in AdaptableOptions.adaptableContext |
| adaptableId | string | Id of current Adaptable instance |
| adaptableStateKey | string | State Key being used |
| previousState | AdaptableState | Previous state before the action was applied. This is useful for comparing changes or reverting if necessary. |
| userName | string | current 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
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
userName
current Adaptable user
TypeScript
userName: string;Property Value
string