Skip to main content


defines that the structure of a tree is being built while opening items

autoload?: string;


var tree = new dhx.Tree("tree_container", {autoload: "/backend/autoload"});"/backend/autoload?id=tree");

Related sample: Tree. Autoload

Here is an example of sending an HTTP GET request to the server using the Express library:

app.get("/backend/autoload", (req, res) => {    const currentData = treeData.filter(i => i.parent ===;    return res.send(currentData);})