Active Questions
How to show and hide the daypilot navigator ?
Answered: You can use the show() and hide() methods of the DayPilot.Navigator instance: https://api.daypilot.org/daypilot-navigator-show/ https://api.daypilot.org/daypilot-navigator-hide/
events are not coming properly in the cell?
Answered: The horizontal position of an event is determined by its "start" and "end" values. Concurrent events stack vertically. To show events side by side you would have to change their start/end value accor...
How to get the text from upper left corner in the cell?
Answered: The default theme uses "display: flex" and "align-items: center" to center the Scheduler event content vertically. You can override it using the following CSS:
.scheduler_default_event_inner {
a...
How i can add icon with text in context menu?
Answered: Please take a look at the following documentation page for an example: https://doc.daypilot.org/menu/images/
image is not coming properly in Context menu.
Answered: When using the default theme, there is a space for a 16x16 pixel icon on the left side: https://doc.daypilot.org/menu/images/ In your screenshot, this space is not available. It looks like you might ...
How can i add multiple events in single cell?
Answered: Each event is displayed at a location determined by its start, end and resource id. If you want to display multiple events in the same cell, use the same "start", "end", and "resource" values.
How to show allday Event in Schedular
Answered: Unfortunately, all-day events are only supported in the Pro version of the calendar: https://doc.daypilot.org/calendar/all-day-events/
Dragging events out of loaded date range leads to errors or losing duration
Hi everyone, I have trouble with my Scheduler when dragging events out of the loaded time range using infinite scrolling. So I'm starting with a range of multiple months around "today" loaded and dra...
How to provide the header for scheduler and how to change the today's cell color?
Answered: Instead of using the Scheduler time header to display the navigation, it's better to create your own toolbar and place it above the Scheduler. To learn how to implement the next/previous/today button...
daypilot all - functions not working
Answered: I resolved this. I was sending the 'data' object via jQuery $.post and it was failing. Re-populating the object sent using $.post using: newStart: args.newStart.toString(), newEnd: args.newEnd.toStri...
Uncaught ReferenceError: module is not defined
Answered: If you want to include the library directly using <script> element you need to download the zip package and include daypilot-all.min.js file instead of using NPM: Pro version: https://javascript.dayp...
How to change the font color while changing the back color for event?
Answered: Please see the documentation for "event customization": https://doc.daypilot.org/scheduler/event-customization/ You can also change the color globally (for all events) using a custom CSS theme: https...
How to wrap the text in Modal input box?
Answered: You can use the "textarea" form item:
import {Modal} from '@daypilot/modal';
// ...
const form = [
{
type: 'textarea',
id: 'textarea1',
name: 'Multi-line text',
},
];
c...
How change the height of all-day-event's row
Answered: The height of the row with all-day events depends on the content. It will stretch automatically to fit all events. You can change the all-day event height using allDayEventHeight property: https://ap...
Date wise Header but data rows breaks into two lines.
Answered: Thank you for posting the screenshot: https://forums.daypilot.org/question/5744/cell-to-into-two-lines-or-below-the-current-line
how to change the time format
Answered: You can customize the hour header cell content using onBeforeTimeHeaderRender event handler: https://doc.daypilot.org/calendar/time-header-customization/
cell to into two lines or below the current line
Answered: The events will be displayed in a single horizontal line if they don't overlap. If the end date/time of the first event and the start date/time are the same the events are still considered non-overla...
show all day events side by side
Answered: Unfortunately, the all-day events can't be displayed side-by-side. They are always arranged vertically.
All-day events in Resources view
Answered: Yes, it is possible. There is no live demo available but you can try this example:
<div id="dp"></div>
<script type="text/javascript">
var dp = new DayPilot.Calendar("dp");
dp.startD...
How to show Monday to Friday in calender?
Answered: You can control the days displayed using startDate and days properties: https://api.daypilot.org/daypilot-scheduler-startdate/ https://api.daypilot.org/daypilot-scheduler-days/ You'll need to set "st...