Check documentation for the latest version of dhtmlxSuite attachTreeView DHTMLX Docs

attachTreeView

attaches dhtmlxTreeView to a window

object attachTreeView( [object conf] );
confobjectoptional, treeview config
objectdhtmlXTreeViewObject instance

Example

var myTreeView = myWins.window(id).attachTreeView({
    items: [
        {id: 1, text: "Books", open: 1, items: [
            {id: 2, text: "Turned at Dark / C. C. Hunter"},
            {id: 3, text: "Daire Meets Ever / Alyson Noël"}
        ]}
    ]
});

Back to top