Skip to main content

TreeList.ClearColumnErrors() Method

Removes the error descriptions for a focused node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

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

Declaration

public virtual void ClearColumnErrors()

Remarks

Use the ClearColumnErrors method to clear errors set using the TreeList.SetColumnError method. For instance, if an end-user entered invalid data, then you could set column errors via TreeList.SetColumnError, and indicate which cells contain invalid values. After the errors are corrected, you can then call the ClearColumnErrors method to remove the error icons.

Handle the TreeList.ValidatingEditor or TreeList.ValidateNode event, to check the validity of the cell’s content.

Note

The ClearColumnErrors method does not clear errors notified by the data source. To clear these errors, you need to use the members provided by your data source.

See Also