search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Move events on drag with blocks of 12 hours

Asked by Albert
7 months ago.

When I move horizontally an event, it moves cell by cell (got day zoom). I want to move the events in blocks of 12h instead of 24h. Is this even possible?

Kind regards

Answer posted by Dan Letecky [DayPilot]
7 months ago.

Yes, please take a look at the following tutorial:

Another option would be to change the cell duration to 12 hours using the following settings:

dp.scale = "CellDuration";
dp.cellDuration = 720;

You can use 12-hour cells and still display days in the time header:

dp.timeHeaders = [
  { groupBy: "Month", format: "MMMM yyyy"},
  { groupBy: "Day", format: "d" }
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.