Examine “Webix Documentation > Samples > 17 Datatree> 16 Dyn loading” at http://docs.webix.com/samples/17_datatree/16_dyn_loading/01_dyn_loading.html in DevTools or Firebug Network panel.
We are interested in the top-right tree (“Dynamic loading of JSON data”)
- If you click on the ‘expand’ icon of the “Layout branch” node, there is one GET request ‘data_dyn_json.php?continue=true&parent=1’ being fired
- Now If you click on the ‘expand’ icon of the “Data branch” node, there are TWO GET requests : ‘data_dyn_json.php?continue=true&parent=1’ and ‘data_dyn_json.php?continue=true&parent=2’. I understand the second one but why ask for children of the first node again?
- Click on ‘collapse’ icon of the “Layout branch” node, and you see ‘data_dyn_json.php?continue=true&parent=2’ request! huh? Why is that needed?
It goes on like this if you keep clicking on the ‘expand/collapse’ of either nodes you’ll see extra traffic
Am I missing something? is it a feature or a bug?