Feature Request: Tree Timeline YUnit Event Available Option

When using a tree timeline view there is an option in the createTimelineView function for whether or not the folders are available for events. i.e. (folder_events_available: true). It would be nice if this property were able to be assigned at the YUnit level. Just like the YUnit has the property for open (to auto open the folder tree branch) there should be one like events_enabled.

The reason for this request is that we have a three level tree Driver to Route to Stops. The driver level has no events but the route and stop levels do. To accomplish this in the current design we enable folder events at all levels but put a timespan over the entire driver level. These extra timespans cause slower loading and more data to be passed.

Hi,
currently we don’t plan to add such setting. If you want you can try modifying the treetimeline view, folder_events setting is checked only in several parts of the extension:

github.com/DHTMLX/scheduler/blo … ne.js#L113
github.com/DHTMLX/scheduler/blo … ne.js#L204
github.com/DHTMLX/scheduler/blo … ne.js#L100

Note for blocking with the timespans - if you add timespans dinamically, for each displayed date and remove previously added - it should affect the performance much. Here is a small sample with one hardcoded blocked section
docs.dhtmlx.com/scheduler/snippet/06bc8fba