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