BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi there,
Actually I wanted to use the DataManager for loading my remote data but I did not manage to lazy load children into their parents. So I tried a custom approach. The below code works but it seem to fire twice. Of course I could ignore the second shot with some hacking but I´m curious what causes this. If anyone has an idea how I can fix this or how I get the WebApiAdapter working that would be great. I´m thankful for any advice.
Hi Martin,
Greetings from Syncfusion support.
From your shared details and code snippet, we understand that you are facing an issue with nodeExpanding event in TreeView. We have prepared a sample in which we have obtained data through an XML request from a provider and bound the “nodeExpanding” event. We tested the sample by expanding the nodes and did not face any issues similar to the one you reported.
Find the attached sample and provider file for your reference.
Sample : https://stackblitz.com/edit/angular-rhrcs2?file=src%2Fapp.component.ts
Service provider: https://www.syncfusion.com/downloads/support/directtrac/general/ze/WebApplication-1047265598.zip
Check out the shared details and if we have misunderstood your query, please let us know and try to replicate the issue in our shared sample itself. Also, share us the package version used at your end. This will help us to validate the issue with more efficiency and provide a resolution that meets your requirements.
Regards,
Suresh.