Active Questions

Edit appointment screen not showing all fields

Answered: It looks like there is a problem with SQL on line 51 (appointment_edit.php) which works in SQLite but not in MySQL: foreach ($db->query('SELECT * FROM [doctor] ORDER BY [doctor_name]') as $item) { It...

form modal doesn't open

Answered: This seems to work fine: var form = [ {name: "Move From", id: "fromDate", dateFormat: "MMMM d, yyyy"}, {name: "Move To", id: "toDate", dateFormat: "MMMM d, yyyy"} ]; DayPilot.Modal.form(form).then(fu...

Event counter per day

Hello, I'm building a scheduler with 3 different possible events for each resource and I would like to get the number of these events for all the resources per day. Do you think there is a solution? ...

Change color on header click

Answered: Please take a look at the following tutorial: https://code.daypilot.org/68382/javascript-calendar-selecting-and-highlighting-columns

Why after deploying in iis, IE11 doesn't show calendar?

Answered: Sometimes, the intranet site is configured (by group policy or in IE settings) to use IE compatibility mode which is not supported by DayPilot. This is the most common problem of different behavior w...

export as pdf

Answered: You'll need to define images using active areas as demonstrated in this tutorial: https://code.daypilot.org/61152/javascript-scheduler-how-to-export-html-to-image

onScroll infinite loop

Answered: Unfortunately, I'm not able to reproduce the problem with args.clearEvents = true. Which version of DayPilot do you use? In Angular, it's necessary to avoid changes to the watched objects ([config] a...

DayPilot Scheduler Event Moving Shadow Issue

Answered: For the record: The problem was a combination of snapToGrid: true and useEventBoxes:"Never", cellDuration: 1440 and events that start at 12:00 (noon). The events snap to the grid with this config - t...

onRowClick/Clicked event

Answered: It's now available in the latest sandbox build (2020.2.4505): https://javascript.daypilot.org/sandbox/