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

TreeList.ClearColumnErrors() Method

In This Article

Removes the error descriptions for a focused node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.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