https://snippet.dhtmlx.com/j7oj7aef
Sections could be dynamically added as the docs describe, however the error bursts.
https://snippet.dhtmlx.com/j7oj7aef
Sections could be dynamically added as the docs describe, however the error bursts.
Hello,
According to the documentation, this method requires the treetimeline plugin. If the opened view isn’t Timeline in the ‘Tree’ mode, the method will be ignored:
addSection Scheduler Docs ;
So, if you want to add a section in a bar mode, you need to use the serverList
which defines a named collection that can be loaded into Timeline view and updateCollection
method to update the list:
serverList Scheduler Docs ;
updateCollection Scheduler Docs ;
Please check the example of how it might be implemented:
https://snippet.dhtmlx.com/mgs0qei2
It works perfectly.
Many thanks