Hi Oskar,
We could reproduce the misbehavior here. But this could be solved by handling MouseDown event of the TreeViewAdv control.
Here is the code snippet:
private void treeViewAdv1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
Syncfusion.Windows.Forms.Tools.TreeNodeAdv tvaNode;
tvaNode = this.treeViewAdv1.GetNodeAtPoint( e.X , e.Y );
if ( tvaNode == null )
{
this.treeViewAdv1.EndEdit();
}
else
{
if ( this.treeViewAdv1.SelectedNode != tvaNode )
{
this.treeViewAdv1.EndEdit();
}
}
}
Herewith I have attached the sample. Please refer to the sample and let me know if it helps you.
56820_TDM_TreeViewLabelEditIssueThank you for using Syncfusion products.
Regards,
Murugan P.S