Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2730
Ultragrid Undo or dataset undo
posted

I want to perform an Undo on the ultragrid or dataset. At the moment im doing the logic below, can you point me into the right direction

this.BindingSource.RaiseListChangedEvents = false;

      this.BindingSource.CancelEdit();

      this.DataSet.RejectChanges();

      this.ultraGrid1.UpdateData();

Parents
No Data
Reply
  • 469350
    Offline posted

    The grid supports a very limited undo functionality for multi-cell operations like Cut, Copy, and Paste.

    But there is no undo in the grid for editing cells and such. The closest thing to undo like that is that you can cancel the change in the current cell or row using the CancelUpdate method.

Children