Tree/TreeTable: prevent "Maximum call stack exceeded"

If onDataRequest you parse a node child with the same id as one of its ascendants, Webix won’t be able to render the tree, and it will produce a “Maximum call stack exceeded” error - http://webix.com/snippet/51d6d89d

One solution to this is to calculate the list of parents (ascendants) like in the snippet, then filter out those children with ids in that list of parents.

Yep, making the self references in hierarchical data will break the rendering

I’m not sure that it need some special processing on component’s level.
Breaking on invalid data is better behavior than presenting only part of data ( as first behavior is easily detectable, when second one can slip in production )

I would agree. Maybe add dealing with this error in a “Troubleshooting” section on Dynamic data loading in trees.