This is a migrated thread and some comments may be shown as answers.

TreeView Maximum call stack

1 Answer 1259 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
IDSTC
Top achievements
Rank 1
IDSTC asked on 24 May 2018, 10:28 PM

I am getting the maximum call stack exceeded error when trying to use the kendo tree view.  I have confirmed the hierarchical data does not contain a circular reference. I can avoid the error on each browser based on limiting the depth of the tree, but would prefer not to.  Here is a dojo example showcasing the error.  You can see that I am using the latest version of kendo as of this writing.  Thanks in advance!

https://dojo.telerik.com/ATABImAm

 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 28 May 2018, 03:02 PM
Hello,

Indeed you are correct, that when such a large local data is bound to the TreeView, a "Maximum call stack size exceeded" error is thrown by the HierarchicalDataSource. I have logged this as a bug in the Kendo UI GitHub repository. You can start tracking the progress that we make on it from issue #4268.

For the time being, I would recommend you to turn on the loadOnDemand option to true which will eliminate the error. Here is an updated Dojo example.

Also, as a small token of gratitude for helping us discover this discrepancy, I have updated your Telerik points accordingly. You can find additional information in your Telerik Profile.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TreeView
Asked by
IDSTC
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or