Hours grouping in scheduler timeline view

Hi, I need hours grouping like show all events from 12am to 7am in one column and other events with separate columns like shown in figure.

I have tried

[code]first_hour: 2,
last_hour: 11

and:

scheduler.ignore_timeline = function (date) {
if (date.getHours() < 10 || date.getHours() > 18) return true;
};
[/code]

but its not giving required results. How can I implement that?

Hello.

Unfortunately, currently scheduler doesn’t allow to group dates.
Possibly, you could try to redefine is_visible_events for timeline in order to show events, non visible by default.
For example: docs.dhtmlx.com/scheduler/snippet/2ca0d6e1