Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControl.RecordUpdated Event

Occurs after the modified focused record has been saved to the underlying data source.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#Declaration

public event RecordObjectEventHandler RecordUpdated

#Event Data

The RecordUpdated event's data class is DevExpress.XtraVerticalGrid.Events.RecordObjectEventArgs.

#Remarks

This event occurs after the modified focused record has been saved to the underlying data source.

Assume that the data source contains a calculated column. Its value is automatically calculated by the data source based upon the values of other fields. When a new record is added within a grid, the calculated column’s value can be accessed only after this record has been saved to the data source. So, you can use the RecordUpdated event to access this value.

The RecordUpdated event occurs after the VGridControlBase.ValidateRecord event, which is fired before the modified record is saved to the data source. To save the focused record to the data source, the VGridControlBase.UpdateFocusedRecord method can be used.

See Also