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

show appointments as free time

Asked by Pavle
22 days ago.

I need to allow users to make booking only under by me chosen times. Example - i have made appointment 9.00-12.00 and would like users to make appointments only during those times.

Answer posted by Dan Letecky [DayPilot]
17 days ago.

There are two options:

  1. You can mark the unavailable parts of the timeline as disabled (see Disabled cells in the Scheduler, Disabled cells in the Calendar).

  2. If the available slots have a fixed duration, you can create them in advance and users can pick one of the existing available slots. This approach is used in the Doctor Appointment Scheduling tutorial

Comment posted by Pavle
17 days ago.

Thanks, but I have my available slots defined in outlook kalendar and want to show those times as free in daypilot kalendar part.

Regards, Pavle

Comment posted by Dan Letecky [DayPilot]
16 days ago.

You can mark individual grid cells as disabled using the BeforeCellRender event handler. This event handler is called for every cell.

There, you can check for overlaps with the list of available slots loaded from Outlook. If there is no overlap, mark the cell as disabled. See also Scheduler cell customization.

New Reply
This reply is
or drop files here
Your name (optional):