Active Questions
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...
unexpected scroll on init | incorrect onScroll behavior |infinity scroll loop
Answered: You must not assign the events attribute in onScroll. This causes the change detection mechanism to refresh the Scheduler and fire another onScroll event. See also a related question (it's for Angula...
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
Hotel Room Booking Tutorial with infinite scrolling
Answered: The infinite scrolling is only supported for timelines generated automatically (scale !== "Manual"). However, it's possible to adjust the generated time cells using onIncludeTimeCell to achieve the s...
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/
Rowheader columns background-color
Answered: You can set the background color for the whole row header using e.BackgroundColor in BeforeResHeaderRender:
protected void DayPilotScheduler1_BeforeResHeaderRender(object sender, DayPilot.Web.Ui.Ev...
Alert() Replacement in TypeScript, Angular.
Answered: Please see the following tutorial: https://code.daypilot.org/60333/using-daypilot-modal-in-angular-application-typescript
infinity horizontal scroll
Answered: It seems i was to early with my post. i came across this documentation. https://doc.daypilot.org/scheduler/infinite-scrolling/ Going to try this out first.
Not having startDate and days filled in in the config doesn't cause the gantt to show every task
Answered: The parent tasks can either use fixed start/end values or values calculated from the children (which is the default mode). You can switch the mode using "taskGroupMode" property: https://api.daypilot...
Time header active areas don't work
Answered: This issue should be fixed now in the latest sandbox build (2020.2.3744): https://aspnet.daypilot.org/sandbox/
Popup menu (contextmenu) behind modal
Answered: You can set the z-index of both components using zIndex property: https://api.daypilot.org/daypilot-modal-zindex/ https://api.daypilot.org/daypilot-menu-zindex/
DayPilot.Row.events.all()
Answered: You can access the original data object like this:
var data = events[0].data;
Fixed column width on row header
Answered: Hi Bertrand, I'm not sure what exactly the problem is but: 1. The "RowHeaderWidthAutoFit" property needs to be renamed to "rowHeaderWidthAutoFit": https://api.daypilot.org/daypilot-scheduler-rowheade...
Problem when launch daypilot
Answered: Can you please contact support@daypilot.org? Please include your order number.
Time range context menu is opened when time range is selected and clicking on event
Answered: Can you please give it a try using the latest DayPilot Pro version (2020.2.4470)?
How to change start time?
Answered: In the Pro version, this can be set using dayBeginsHour and dayEndsHour properties. See also: https://doc.daypilot.org/calendar/overnight-scheduling/
onBeforeCellRender
Answered: The onBeforeCellRender implementation must be very fast because it's called for every cell in the grid during scrolling. I recommend reading all cell data in advance and storing it on the client side...