rounding dates in Timeline

Hi, I’m using timeline view and round_position = true in order to ‘stretches’ the events upon the entire cell. I would like that also event start and end dates/time had the value corresponding to the start and end of the cell.
For example for a 1 day cell start date will be 00:00 and end date 00:00.
Is it possible?
thanks
Walter

Hello,
You can set initial event duration and time step with scheduler.config.time_step and scheduler.config.event_duration configs

docs.dhtmlx.com/doku.php?id=dhtm … .time_step
docs.dhtmlx.com/doku.php?id=dhtm … t_duration

You can also manage event’s start/end dates manually, by changing it on onBeforeEventChanged and onEventCreated events
docs.dhtmlx.com/doku.php?id=dhtm … entcreated
docs.dhtmlx.com/doku.php?id=dhtm … entchanged