ASP.NET Core Treeview checkAll() function is very slow

When using the checkAll() function with 100+ Ids as Parameter its very slow to the point that it will freeze the browser.
When Setting the Tree to loadonDemand = false the function will not work at all.

1 Reply 1 reply marked as answer

KR Keerthana Rajendran Syncfusion Team January 25, 2021 12:57 PM UTC

Hi Florian, 
 
We have validated your reported problem. We have prepared a Core TreeView sample with 100+ to 1000 node items and ensured checkAll (with loadonDemand false case too). However, the checkAll functionality was performed in a feasible amount of time and we couldn’t replicate the time delay issue in our end. Your reported issue with loadonDemad may occur due to the Id type in your datasource. By default, Id argument must be in string type. 
 
Please find the sample from the below link, 
 
 
If the issue still persists, please share the below details 
 
  1. Number of items loaded as DataSource in your application?
  2. Video footage of the reported problem.
  3. If possible, modify the above sample to replicate the issue to serve you better.
 
Please, let us know if you need any further assistance. 
 
Regards, 
Keerthana. 


Marked as answer
Loader.
Up arrow icon