Active Questions
Dynamically update Navigator
Answered: I'm not sure if this is what you are looking for but the Navigator supports highlighting busy days (days with events) out of the box. You can supply the an array with events in the same format that i...
EndDateSpec equivalent for Month control?
Hi, I've just discovered the incredibly useful 'EndDateSpec' setting that allow dates to appear inclusive of the end date for the Scheduler. Is there an equivalent setting for the Month control?
How to use password for event creation ,resizing and moving
Answered: The preventDefault() method needs to be called in the main context (before the onEventResize handler exits). You are calling it in the callback method which is called later and it has no effect. The ...
NG7 - scheduler (zoom example): undefined "args" in .config ?!
Answered: It looks like if you set startDate using a string (not DayPilot.Date) in the config you may receive it in args.date unconverted. It's fixed now in the latest sandbox build (2019.2.3893). In previous ...
Calendar - List of all Events
Answered: The latest sandbox build (2019.2.3891) now supports DayPilot.Calendar.events.forRange(start, end) method. It will return events from the specified range.
var selectedEvents = dp.events.forRange("20...
scroll wheel vs. touch
Answered: There was an issue with the row headers. There was an extra space below the rows that allowed scrolling to an invalid position. This extra space is only required on desktop to make space for the scro...
Cell background color change
Answered: You can control the grid cell background color using BeforeCellRender event: https://doc.daypilot.org/scheduler/cell-customization/ However, for displaying dynamic data it might be better to use even...
Where to put Custom CSS files
Answered: When styling the Navigator (or any other component) there are two options: 1. Use a custom theme. You can create a theme using the online theme designer (https://themes.daypilot.org/) or you can buil...
asynchronous scheduler binding and Show Loading message.
Hi Team, I am binding scheduler asynchronously but not showing data in scheduler . but when filter scheduler data is displayed. Can you please suggest or please share sample code for asynchronous sch...
Navigator startDate
Answered: In order to show the previous and current months you can use the following config:
var nav = new DayPilot.Navigator("nav");
nav.startDate = DayPilot.Date.today().addMonths(-1);
nav.showMonths = 2...
Scheduler Grid HTML File
Answered: The Scheduler grid can be customized using the API, such as onBeforeCellRender event handler (see https://doc.daypilot.org/scheduler/cell-customization/). The full version includes unminified source ...
something went wrong whith my modal (edit an appointment slot)
please i need help, the modal 'Edit appointment slot' works well just the status and the name and the button 'save' :/ i dunno why? and also i wanna ask about the documentation they said: "As soon as...
the status and the user's name in the Edit appointment slot doesn't appear!
please i need help, the modal 'Edit appointment slot' works well just the status and the name and the button 'save' :/ i dunno why? and also i wanna ask about the documentation they said: "As soon as...
How-To add some color to Calendar....
FYI- The Text for the Calendar control takes HTML... So, if you want some color to differentiate you can do something like... SELECT tblStudyTasks.study_task_id, task_start, task_end, CASE WHEN COUNT...
Navigator vs. Calendar week shown in week-view
Answered: Mike, Thanks for the update! After checking the implementation it turned out that the Calendar used hardcoded Monday as the first day of week instead of reading the locale. It should be fixed now in ...
i can not delete or edite an appointment slot!
Answered: This project doesn't use any authentication. If you can't delete or edit the appointment from the modal dialog there is most likely a server side error (when calling the backend endpoint). You should...
how to add Switching Day/Week View
Answered: To switch the view, you just need to change the viewType value and call update(), like this: Switch to day view:
dp.viewType = "Day";
dp.update();
Switch to week view:
dp.viewType = "Week";
d...
Deploy in nginx or apache 13278
Answered: The application consists of two parts: 1. The frontend part that is built using Angular will be compiled to a set of static files during build. You can deploy it to any web server that will serve 2. ...
Navigator past months / block future dates
Answered: Yes, this is possible. You can hook the onTimeRangeSelect event handler and forbid navigating to the selected dates. Please see the following tutorial: https://code.daypilot.org/88013/javascript-cale...
Event filtering and row filtering
Hi Team, Can you help me in achieving event filtering and row filtering in asp.net webform scheduler? Please share the sample code or relevant information. thanks