Hide TreeNodeAdv

Is there a way to hide (not remove) a TreeNodeAdv in a way that it can be found and processed at a later step? I do not see a Visible property for it.

2 Replies

MU Murugan Syncfusion Team October 17, 2006 10:52 PM UTC

Hi Elsa,

Sorry for the inconvenience caused. In the current archetecture of TreeViewAdv control, we don't have any property or method to change the visibility of TreeNodeAdv. But we can use Enabled=false or Add and Remove nodes instead of Show and Hide.

Thanks for choosing Syncfusion products.

Best Regards,
Murugan P.S


MU Murugan Syncfusion Team October 18, 2006 01:03 AM UTC

Hi Elsa,

One option is,
When you want to hide the node, Add the node to an ArrayList and remove from the TreeView collection.
When you want to show the node, retrive the node from the ArrayList and add it back to the TreeView Collection.
HideTreeNode

Thanks,
Murugan P.S

Loader.
Up arrow icon