Skip to main content

VGridControlBase.CancelUpdateFocusedRecord() Method

Discards any changes made to focused record cells.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid


public virtual void CancelUpdateFocusedRecord()


Call the CancelUpdateFocusedRecord method to discard changes made to the contents of a cell within a focused record. Note that this method is in effect until the record loses focus and if no cell is being edited at the moment. To discard any changes made to the currently edited cell and close the editor, call the VGridControlBase.HideEditor method.

The VGridControlBase.UpdateFocusedRecord method saves changes made to the focused record. After this method has been called, the CancelUpdateFocusedRecord method does nothing.

See Also