I am using DHTMLX 5.0.2. I am trying to load a tree grid. On loading the first level, when I am trying to load the kids of a level, then I am getting the below error:
SCRIPT28: Out of stack space
File: dhtmlx.js, Line: 47636, Column: 13
SCRIPT28: Out of stack space
File: dhtmlx.js, Line: 47744, Column: 13
This issue arises only when I use
splitAt()
option.
If I do not use the splitAt, then the issue does not arise.
I am attaching a sample loading example. But I am unable to replicate the issue in it.
Also attaching the screen shots of the error that I am getting in the console. And the screen that appears if I try to expand the content.
Please let me know what could be the issue. I have also removed
enableAutoWidth()
since it is not compatible with splitAt option. sample.zip (588 KB)
Why am I getting that ? Your answer : “you need to load to the right side of split any (empty) data.” didn’t make sense to me. If you could explain that would be great.
To Be more precise I am getting it from dhtmlx.js by code for(var c=0;c<a.childsCount;c++){this._setSubChecked(e,a.childNodes[c])}
I am in IE 11 with DHTMLX5.1
SOLVED THE ISSUE : Finally I solved the issue.
Writing up just in case it might help others. The real reason of getting that error is somewhere in your code there is a recursion.
The original question of the topic was about the treegrid, not the tree. So the solution applicable to the dhtmlxTreegrid only.
Could you please, clarify your original problem or provide a complete demo/demo link, where the problem can be reconstructed locally.
Why does DHTMLX have same function with the same description in Documentation, which does the same thing ?
Could you please, clarify your question
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan