Skip to main content

TreeList.ClearColumnErrors() Method

Removes the error descriptions for a focused node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v22.2.dll

NuGet Package: DevExpress.Win.TreeList


public virtual void ClearColumnErrors()


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.


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