TreeList.EndCurrentEdit(Boolean) Method
Posts the focused node’s values to the data source and optionally re-sorts and re-filters the tree.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
updateSortingAndFiltering | Boolean |
|
Remarks
The TreeList automatically saves changes in the focused node to a data source and re-sorts and re-filters the tree when the node is about to lose focus. Call the EndCurrentEdit
method to post changes in the focused node to the data source when needed without moving focus to another node. Set the updateSortingAndFiltering
parameter to true
to re-sort and re-filter the tree after saving changes.
To discard the changes made to the focused node’s values, call the TreeList.CancelCurrentEdit method.