Undo / redo for grid edits

Live in demo 55-state-maintenance.

When

Maintain a history stack of cell edits; Ctrl+Z / Ctrl+Y replay backwards / forwards.

How

Key API surface:

See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.

See also