DataChangeHistoryOptions
Options to manage the 'Data Change History Module', which provides an overview of all previous changes, giving the possibility to undo specific changes
TypeScript
export interfaceProperties
| Property | Description | Default |
|---|---|---|
| activeByDefault | Make Data Change History active by default | false |
| changeHistoryButton | Action button definition; can be used to implement undo functionality | undefined |
| showDataChange | Function specifying which data changes to include in Data Change History | undefined (all data changes are logged) |
| showLastDataChangeOnly | Show all changes for a Cell or just the last one | true |
Property Details
activeByDefault
Make Data Change History active by default
TypeScript
activeByDefault?: boolean;Default Value
false
Property Value
boolean
changeHistoryButton
Action button definition; can be used to implement undo functionality
TypeScript
changeHistoryButton?: DataChangeHistoryButton<TData> | DataChangeHistoryButton<TData>[];Default Value
undefined
Property Value
DataChangeHistoryButton<TData> |DataChangeHistoryButton<TData>[]
showDataChange
Function specifying which data changes to include in Data Change History
TypeScript
showDataChange?: (cellDataChangedInfo: CellDataChangedInfo<TData>) => boolean;Default Value
undefined (all data changes are logged)
Property Value
(cellDataChangedInfo:CellDataChangedInfo<TData>) => boolean
showLastDataChangeOnly
Show all changes for a Cell or just the last one
TypeScript
showLastDataChangeOnly?: boolean;Default Value
true
Property Value
boolean