The version history add-on. It shows Review › Version History and Save
Version in each grid that has an archive and an author, from options or
from createGrid(host, { addons: { history: { ... } } }); grid settings
replace the init options field by field. The panel and its code load only
when either command runs; archive recording stays under the host's
committed-transaction journal. A grid destroyed while the panel code loads
opens nothing.
Declaration
function historyAddon(Parameters
options?: Partial<HistoryAddonOptions>optionalDefaults for every grid, such as archive and authorId; a grid's own settings replace them field by field.
Returns
SheetwriteAddon<Partial<HistoryAddonOptions>>The add-on to pass in initSheetwrite({ addons }).