protected override void OnAfterLabelEdit(NodeLabelEditEventArgs e) { base.OnAfterLabelEdit(e); LabelEdit = false; e.CancelEdit = true; ExtTreeNode node = e.Node as ExtTreeNode; if (node != null && e.Label != null) { node.AfterLabelEdit(e.Label); } SortParentNodes(e.Node); }
protected override void OnAfterLabelEdit(NodeLabelEditEventArgs e) { base.OnAfterLabelEdit(e); LabelEdit = false; e.CancelEdit = true; ExtTreeNode node = e.Node as ExtTreeNode; if (node != null) { //node.Text = labelEditOldLabel; //labelEditOldLabel = null; if (e.Label != null) { node.AfterLabelEdit(e.Label); } } SortParentNodes(e.Node); SelectedNode = e.Node; }