Is there an example of a database schema to use the php connector with the timeline view in tree mode.
I can use the standard timeline view but cannot find any reference how to configure the Y axis in the treeView mode. Do these have to be hardcode first ?
Hello,
due to current implementation, tree timeline config requires hierarchical data structure
[
{key:10, label:"Web Testing Dep.", open: true, children: [
{key:20, label:"Elizabeth Taylor"},
{key:30, label:"Managers", open: true, children: [
{key:40, label:"John Williams"},
{key:50, label:"David Miller"}
]},
{key:60, label:"Linda Brown"},
{key:70, label:"George Lucas"}
]},
{key:80, label:"Kate Moss"},
{key:90, label:"Dian Fossey"}
];
and there is no built-in way to load it from the server. You can store and load this collection to the client as a plain list with properties like (id, label, parentId), and then generate a tree structure and load it into the timeline using scheduler.serverList/updateCollection
docs.dhtmlx.com/scheduler/api__s … rlist.html