Hello,
There is no built-in way to add some space between the events, but
one of the options is to set the resize_events: false
and set some event_dy:
in the configuration object of the Timeline view. You can read about it here:
https://docs.dhtmlx.com/scheduler/api__scheduler_createtimelineview.html
And add the class to the event(with the event_class) template, that will use the height less than event_dy:
. For example, in your CSS:
.decreased {
height: 30px !important;
}
And the following template:
scheduler.templates.event_class = function(start,end,ev){
return "decreased";
};
So, you will have empty space after each event.
You can check the following snippet: https://snippet.dhtmlx.com/ro8jsx7s