VGridControl.RecordUpdated Event

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

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public event RecordObjectEventHandler RecordUpdated
Public Event RecordUpdated As RecordObjectEventHandler

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