Year view, no full day


I haven’t find how to do this…
On the year view, when i add a new event, i want to set a default time period because i don’t want a full day period.
(If i already have an event, i have a “stop collision”)

Can you tell me how to do please ?

Thanks for your help.

You can

a) use onEventCreated handler, and from it change the start_date and end_date properties of newly created event.

b) you can edit ext/dhtmlxscheduler_year.js Locate in it next line

scheduler.dblclick_dhx_month_head = function(e) {

code after it calculates default start and end dates - you can alter it with any custom logic.