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 interface

Properties

PropertyDescriptionDefault
activeByDefaultMake Data Change History active by defaultfalse
changeHistoryButtonAction button definition; can be used to implement undo functionalityundefined
showDataChangeFunction specifying which data changes to include in Data Change Historyundefined (all data changes are logged)
showLastDataChangeOnlyShow all changes for a Cell or just the last onetrue

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