TreeList.ClearColumnErrors() Method

Removes the error descriptions for a focused node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public virtual void ClearColumnErrors()
Public Overridable Sub 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