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.
Hi all,
We want to use the LoadOnDemand Functionality of the TreeViewAdv.
We are aware of how to use this in the Control as it is available.
To addition to what is currently available we have the requirement as follows:
we would like to have a Initial Tree Populated with all nodes expanded.
However, Not every nodes would contain All its Child Nodes. There would be few additional
child nodes that will be added to the node ON DEMAND.
To Provide this kind of ON DEMAND functionality, we want all nodes to have the + sign even
if they are expanded.
On click of the + sign, we would lookup some datasource to see if there are any additional
childs that can be shown for that particular node.
If such nodes exist it will be added as a child.
After this process, Based on the total no of children for that node the coressponding - or
nochild image will be shown for that node.
How do we go about getting this functionality from TreeViewAdv?
ADAdministrator Syncfusion Team December 10, 2004 08:22 AM UTC
Hi Pradeep,
Sorry for the delay in getting back to you.
Unfortunately this feature cannot be supported out of the box and I could not think of a proper workaround for this. However I have consulted the development team regarding this issue and should be hearing from them shortly. Please let me know if the following enhancement would meet your requirements
Proposed Feature :
1) A property setting could be added called ShowPlusOnExpand which would keep displaying the Plus sign on a node even when expanded while in LoadOnDemand mode.
2) The BeforeExpand event would get raised even when the plus is clicked again when in expanded mode so that you can check the datasource for changes.
Thanks.
Best regards,
Stephen.
>Hi all,
>We want to use the LoadOnDemand Functionality of the TreeViewAdv.
>We are aware of how to use this in the Control as it is available.
>
>To addition to what is currently available we have the requirement as follows:
>
>we would like to have a Initial Tree Populated with all nodes expanded.
>However, Not every nodes would contain All its Child Nodes. There would be few additional
>
>child nodes that will be added to the node ON DEMAND.
>
>To Provide this kind of ON DEMAND functionality, we want all nodes to have the + sign even
>
>if they are expanded.
>
>On click of the + sign, we would lookup some datasource to see if there are any additional
>
>childs that can be shown for that particular node.
>
>If such nodes exist it will be added as a child.
>
>After this process, Based on the total no of children for that node the coressponding - or
>
>nochild image will be shown for that node.
>
>How do we go about getting this functionality from TreeViewAdv?