Hello Dimitar,
so if I want to collapse specific elements, other than root, I have to scan through the getItems Array and find the item matching the one I want to collapse?
Also, the jsfiddle has the same problem as every jsfiddle in the “API Reference” section of your Web Demo. You have to enable untrusted sources in the browser, because jsfiddle uses HTTPS and your scripts are delivered using HTTP. You can do this using a shild icon in the address bar in chrome.
Regards,
David Bachmann