How to push data in a Tree

Trying to populate a Tree pushing data from a javascript (using SignalR Core) As I realised that I cannot assign an ID to dhtmlx components I’m wondering how to call the parse method of the Tree component from the js module (I’m working in a VS .Net Core Project and the Tree has been initialised in index.html).

Thank you for attention

As I realised that I cannot assign an ID to dhtmlx components

You may assign the id to your dhtmlx component during its creation:

var tree = new dhtmlXTreeObject("treeBox","100%","100%",0);

https://docs.dhtmlx.com/tree__initialization_of_dhtmlxtree.html#objectbasedinitialization