ReoGrid uses a lightweight action framework (based on unvell.Common.ActionManager) to record all operations and support undo/redo. Every user edit is captured as an action, and you can create custom actions to extend this system.

Quick Reference

// Perform an action (supports undo/redo)
grid.DoAction(new SetCellDataAction("A1", 100));

// Undo / Redo
grid.Undo();
grid.Redo();

// Check undo/redo availability
bool canUndo = grid.CanUndo();
bool canRedo = grid.CanRedo();

// Listen for actions
grid.ActionPerformed += (s, e) =>
    Console.WriteLine($"Action: {e.Action.GetType().Name}");

In This Section

  • Action Framework — How the action system works, creating custom actions, composing multiple actions into a single undo step
  • Built-in Actions — Reference of all built-in action types (SetCellData, SetRangeStyle, InsertRows, etc.)
Was this article helpful?