Skip to main content

VGridControlBase.ClearRowErrors() Method

Removes the error descriptions for the focused record.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public virtual void ClearRowErrors()

Remarks

Use the ClearRowErrors method to clear the errors set using the VGridControlBase.SetRowError method. For instance, if an end-user entered invalid data, then you can set record errors via the VGridControlBase.SetRowError method and indicate the cells with invalid values. After the errors are corrected, you can call the ClearRowErrors method to remove the error icons.

As a rule you need to handle the VGridControlBase.ValidatingEditor or VGridControlBase.ValidateRecord events in order to check the validity of the contents of cells.

Note

The ClearRowErrors method doesn’t clear errors notified by the data source. To clear these errors, you need to use the members provided by your data source.

See Also