Problem with start and end date in dhtmlx scheduler

Hello All,
i want to change end date and time according to the start date and time,
actually when i save the event the end date automatically goes equal to start date

but i want to to change end date on start date change,

Pls help

Thanks in advance.

a) you can use onEventSave handler, in which you can modify end_date based on start_date value

or

b) you can use auto_end_date option
docs.dhtmlx.com/scheduler/api__s … onfig.html