Required library edition:
Required library file: dhtmlxscheduler_treetimeline.js
opens specified section in current Timeline-Tree view.
For example, if Timeline-Tree view used the following snippet:
scheduler.createTimelineView({ ... y_unit: [ {key:10, label:"Web Testing Dep.", open: false, children: [ {key:20, label:"Elizabeth Taylor"}, {key:30, label:"Managers", open: false, 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"} ], ... });
Then to open “Web Testing Dep.” folder execute:
scheduler.openSection(10);