To Add All day Event

How can I add an event for all day?

I’ve checked “all_timed” property to show a clock on top on calendar for all day events

    scheduler.config.all_timed = false;

But, The line for all day event is not showing, and also I do not now how to create this kind of events

Hi
i’m not sure what do you mean. If you need the ability to set all day duration in the details form, you can use DHXScheduler.Config.full_day config, it will add ‘Full day’ option near the time selectors

‘all_timed’ affects only the appearence of full day and multi day events

Thanks,

I understand, when you set this property to true, then you can add add a full day event.
In fact, my question was about how to show full day event bar (because I thought it was possible to create full day events from this bar). Then I’ve realized to show full day event it’s necessary to exist at least one full day event, and also toolbar doesn’t allows to create full day events, that was I thought I could do.

Then solution will be to create full day event by handling label “dhx_scale_bar” clicks, but I don’t now how to handler this event. I don’t want to create full day event in custom lightbox, I want user can create it by clicking in a top area of the day.

If you are using scheduler 3.x or earlier, you need to add

scheduler.config.multi_day = true;