Restricting drag-drop edits

Hi. I have a few questions, mainly about the editing of events through the drag and drop.

  1. Is it possible to limit (in a particular view) that events can move across columns (e.g. date / resource) but not change their time?

  2. Similarly is it possible to limit (in a particular view) that events can change their time but not change the resource column they are in?

  3. Can I selectively choose which events can be edited. (For example, scheduler.config.select = false; – but per event.

  4. Is it possible to ensure that new or drag-edited events have their start and end times snapped to the nearest 15 minutes?

  5. Can I avoid multi-day events? So when editing in the lightbox, only ask one date, but ask for a start and end time (both will be saved on the same day)

And regarding the display:

  1. can I show lines for 15 minute time-bands rather than 30 minute default?

thanks very much

Hello.

1/2. In this case you could handle drag events to set event values as you want.
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html

For example, possibly something like this:
docs.dhtmlx.com/scheduler/snippet/a7ced763
3. In this case you could set “true” readonly property to events which shouldn’t be edited.
See article: docs.dhtmlx.com/scheduler/readonly.html
Or possibly you could only cancel drag or lightbox showing if necessary using appropriate event.
docs.dhtmlx.com/scheduler/api__s … event.html
docs.dhtmlx.com/scheduler/api__s … event.html

  1. In this case you could set 15 minutes time_step.
    docs.dhtmlx.com/scheduler/api__s … onfig.html

  2. There is no built in way to achieve it. But you could try to implement it.
    You could hide second date with appropriate css. And use onEventSave handler to correct end_date and set needed date with set time.