API REFERENCE
clearHistory
Clears undo/redo history without resetting current data values.
What does this API do?
Clears undo/redo history without resetting current data values.
Exact input and result types
clearHistory(): Promise<void>| Arguments | Required | Type |
|---|
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.clearHistory(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Edit history
Undo or redo recorded editing transactions. One operation may contain multiple cell changes, so cell counts and history counts are not necessarily equal.