The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I'm building an application which uses a TreeViewAdv control, but not all nodes are expanded at the beginning. I'm using LoadOnDemand. Everything works OK except that the node has no children, it still displays the Plus sign. Now the Plus sign goes away when clicked, but how to I get to not show up at all.
PAPaul Anderson S Syncfusion Team January 28, 2013 09:33 AM UTC
Hi Henry,
Thanks for your interest in Syncfusion products.
In TreeViewAdv by setting LoadOnDemand property to true, the plus and minus of all the nodes will be visible in the beginning. Now on selecting a node the BeforeExpand event of the nodes and subnodes are triggered and the TreeNode will display or hide the plus or minus based on whether or not the children are added. This is a normal behavior of TreeViewAdv control.
Please have the documentation from the below link.
I think I understand. Because I'm loading on demand the plus has to be shown otherwise there would be no way to expand that node to get any children. It is only afterwards that you know if there are children or not. Thanks.
PAPaul Anderson S Syncfusion Team January 31, 2013 08:54 AM UTC