API REFERENCE

maxSnapshots

Maximum data snapshots retained in memory. Older snapshots may be removed.

What does this API do?

Maximum data snapshots retained in memory. Older snapshots may be removed.

Exact input and result types

typescript
maxSnapshots: number
ItemValue
JavaScript namemaxSnapshots
HTML attributemax-snapshots
Default20
Input typenumber

Usage flow

Set this on a property of the Grid element. In HTML, you can also use the max-snapshots attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

Feature explanations and examples