scheduler allday event

How can I set the allday event as predefined? i tried to change the value of the checkbox to 1 but nothing changed.

{view:“checkbox”, id:‘allDay’, name:‘allDay’, label:scheduler.locale.labels.label_allday, labelWidth: 100, value:1},

You can redefine scheduler.templates.new_event_data, this function will be called during adding a new event and must return default values for the related form

http://docs.webix.com/mobile_calendar__calendar_templates.html#new_event_data