TreeView Maximum call stack

2 posts, 0 answers
  1. IDSTC
    IDSTC avatar
    1 posts
    Member since:
    Aug 2016

    Posted 24 May 2018 Link to this post

    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

     

  2. Dimitar
    Admin
    Dimitar avatar
    796 posts

    Posted 28 May 2018 Link to this post

    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.
Back to Top