CGXGridParam::SetUndoLimit
void SetUndoLimit(DWORD nMaxUndoOp);
nMaxUndoOp
Specifies the number of operations to be held in the undo/redo list.
Remarks
Lets you specify the maximum number of operations the grid shall hold in its undo list. Transactions will be handled like a single undo operation.
When the number of operations exceeds the given limit, the grid will delete old operations from the undo list.