Losing nodes from tree when using tree.parse() on a filtered tree

https://snippet.webix.com/5dwot7bp

In the snippet above, I have a tree and do the following:

  • filter it
  • add new nodes via tree.parse
  • unfilter it

In the snippet, click on the buttons in order from top to bottom.

When I unfilter it, I seem to have lost nodes from the original state.

Is this a bug, or is this how tree.parse works?

Hello,

When reloading data in the Tree, it is safer to clear all the records, than parse a new data set, then filter it using the same rule: https://snippet.webix.com/ahh3s9k4