Active Questions
Increase the height of the DayPilot Calendar control to fit its parent dynamically
Answered: Please see the following tutorial for a working example (Scheduler with heightSpec set to "Parent100Pct"): https://code.daypilot.org/75104/angular-scheduler-full-screen-layout
Scheduler with Sortable Columns for Javascript
Answered: There is a tutorial in the works that will show how to sort rows using the column headers in the JavaScript version. It will be published at https://code.daypilot.org - you can subscribe to email not...
Extra Fields Add
Answered: The modal dialog can show any HTML page using showUrl() method. You can create a standard page with the required fields and display it using showUrl(). You can pass the form data back to the calendar...
Event rendering on copy
Answered: Most likely, the problem is that the new event has the same ID as the original one. After recent changes, the Scheduler requires each event to have a unique ID. This applies since the various event i...
Display Context Menu On Touch Device Tap
Hi there, I am trying to display the scheduler event context menu when the user taps on the event from a touch device. I want this behavior to happen only on touch devices (small screens) not on desk...
Slow in rendering cells
Answered: The Scheduler is optimized and it only renders the cells for the current viewport. However, this configuration extends the viewport to the whole grid and it displays all 100*15*24 = 60,000 cells at o...
Right-click range select, on button release
Answered: This issue should be fixed now in the latest sandbox build (2018.4.3470): https://javascript.daypilot.org/sandbox/
How to switch between the Day,Week and Month view in Angular4
Answered: Please see the following sample project that shows how to implement a calendar with day/week/month views: https://code.daypilot.org/30451/angular-calendar-day-week-month-views
limited timeframe
Answered: already found the solution need to change $morning_shift_starts = 9; $morning_shift_ends = 13; $afternoon_shift_starts = 14; $afternoon_shift_ends = 18; in the backend_create.php thankyou anyway
Exception User-Unhandled
Answered: Yes, thank you so much. I've checked in WireShark the IP address my app was trying to connect with. Then I set that address (with another port) as a proxy and suddenly it started to work. Thank you!
Show Event Links on hover or select only?
Answered: Sorry for the delay... Unfortunately, the links can't be displayed on hover. You might be able to implement your own logic by only adding the selected links to the array (on event click, on active ar...
cssClassPrefix overrides resource tree backColor
Answered: You can extend your onBeforeCellRender like this to apply the green background color:
dp.onBeforeCellRender = function(args) {
var row = dp.rows.find(args.cell.resource);
if (row.data.bac...
BeforeEventRender EventClickEnabled Not Working
So when form loads and calls beforeeventrender, I have it set for all pre-created events to have the e.eventclickenabled = false (by looking at e.id and make sure its all old ids versus new ids). Whi...
Css class removed after expanding resource group
Answered: The CSS class added using addClass() is now persisted to DayPilot.Scheduler.resources[].cssClass and it will survive update() calls. It's implemented in the latest sandbox build (2018.4.3445): https:...
Highlight holidays
Answered: I figured it out...
dp.onBeforeCellRender = function(args) {
var cellDate = moment(args.cell.start.value).format("YYYY-MM-DD");
if (jQuery.inArray(cellDate, holidayArr) !== -1) {
...
Hotel type calendar grid
Answered: DayPilot requires to be run in a web application (it's a client-side JavaScript technology). It is possible to create a web application that uses Microsoft Access as storage but it's not recommended ...
Hide/Show Resource Section in Daypilot
Answered: Yes, please see the "rowHeaderHideIconEnabled" property which enables an icon that lets users hide/show the row headers: https://api.daypilot.org/daypilot-scheduler-rowheaderhideiconenabled/ It's als...
Make Event selected and Change color for selected item
Answered: Yes, please see the "Event Selecting" topics in the docs: https://doc.daypilot.org/scheduler/event-selecting/
Disable left Click in Day Pilot Schedule
Answered: Unfortunately, this is not supported in the ASP.NET version of the Scheduler. In the JavaScript version, it's possible to customize the behavior using onGridMouseDown: https://api.daypilot.org/daypil...
Hyphens in event text
Answered: I'm not able to reproduce the problem - however, it looks like a CSS issue. If you enable text wrapping some browsers may wrap the text after the hyphen. If the event height only allows one line of t...