Multiple hierarchies after async refresh

I am getting treeview hierarchy based on async api call that is populating variable that is list of items.

I need to refresh the whole treeview, so I am executing new async call that is populating the same variable.

This shows up as another hierarchy in the list, where old is without any changes, and new added below old one is reflecting all the changes. What am i doing wrong?

Thanx,

D


3 Replies

SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team July 22, 2021 03:30 PM UTC

Hi Dino, 

Greetings from Syncfusion support. 

We have checked your shared problem details. But we were unable to replicate your reported problem as updating the data source bound to TreeView updating the TreeView UI properly. 

Please, check out the following forum link to know about two way data binding support in Blazor TreeView component. 


If the provided details do not help you solve the problem, then please share us more details regarding your reported problem. 

1.       If possible, share us issue reproduced demo application. 
2.       Share us the TreeView initialization code and async call methods codes from your application. 
3.       Share us issue replicated video footage. 

This information would help us to provide you the prompt solution. 

Regards, 
Shameer Ali Baig S. 



DN Dino Novak July 22, 2021 04:45 PM UTC

Sorry for confusion,

it was error in code that was building hierarchy on refresh.

Please close the issue

D




KR Keerthana Rajendran Syncfusion Team July 23, 2021 08:52 AM UTC

  
Hi Dino,  
 
Thanks for the update. We are happy to hear that the reported issue was resolved in your end. Please get back to us if you need any further assistance. 
 
Regards, 
Keerthana

Loader.
Up arrow icon