attaches dhtmlxTreeView to a cell
conf | object | optional, treeview config |
object | dhtmlXTreeViewObject instance |
var myTreeView = dhxComponent.cells(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