TreeList.EndCurrentEdit() Method

Posts the focused node’s values to the data source.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v21.2.dll


public virtual void EndCurrentEdit()


The EndCurrentEdit method saves the changes made to the focused node’s cell values to the associated data source. This method is automatically called when a node is about to lose focus. You can call this method manually when you need to post the current node data to the data source manually without having to remove focus from the node.

If it is necessary to discard the changes made to the focused node’s values, call the TreeList.CancelCurrentEdit method.

See Also