All Questions

Assign Multiple Background Color to an Event

Answered: You can insert custom segments into an event using "active areas": https://doc.daypilot.org/scheduler/event-active-areas/ You can specify the active area position using start/end properties instead o...

How to Get Specific Date of An Event

Answered: The current position in the grid (in pixels) is stored in DayPilot.Scheduler.coords object. This value is updated in real time: var coords = dp.coords; // coords.x, coords.y You can use DayPilot.Sche...

Scheduling on Weekdays only.

Answered: You can hide weekends using ShowNonBusiness="true": https://doc.daypilot.org/scheduler/hiding-non-business-hours/ You can also hide selected time columns using IncludeCell event handler: https://doc....

DayPilotMont - GetEventMap Error

Answered: Thanks for reporting the issue. It's now fixed in the latest sandbox build (8.4.3620): https://www.daypilot.org/sandbox/

Mouse click on the cell not exactly

Answered: i found the reason why, because parent tag has a style with value: "margin-top: 50", change to: "padding-top:50" and it worked perfect ^_^

Scheduler MVC - Hiding rows without events

Answered: The isEmpty() method of DayPilot.Row is available since client core version 2759. It's now available in the sandbox version of DayPilot Pro for ASP.NET MVC: https://mvc.daypilot.org/sandbox/ The late...

Resource bubble is not supported yet

Answered: This should be fixed now in the latest sandbox build (8.4.5883): https://mvc.daypilot.org/sandbox/ Thanks for reporting the issue.

Javascript breaks when hover scroll bar

Hello, I am using DayPilot.Web.MVC version 8.3.5880.1 and daypilot-all.min.js version 2937. When I hover the scheduler scroll bar, on the bottom of the scheduler, I get this error message: "Unhandled...

Menu: menu is not defined

Answered: 1. The "contextMenu" property specifies a context menu for events. It's activated when you right-click an event (the default eventRightClickHandling value is set to "ContextMenu"). You can also map i...

loadEvents(); wanted to call every 10 sec

Answered: Thanks for the update. There is also a built-in AutoRefresh feature that is a bit smarter (it doesn't fire if a drag and drop operation is in progress): https://doc.daypilot.org/scheduler/autorefresh/

Highlighting Today

Answered: Yes, you were correct I was using Version 7.9.5741.1, now that I changed to 8.3.5862.1 is working properly. Thanks.

Disabled Rows

Answered: The best way would be to use TimeRangeSelectingJavaScript to provide a custom event handler that forbids the selection for the given rows. Something like this: @Html.DayPilotScheduler("dps", new DayP...

onTimeRangeSelected: giving 3 value start/end/resource

Answered: The original data object is accessible as "data" property of the row object. You can get the row object (DayPilot.Row class) using .rows.find(): var row = dp.rows.find(args.resource); var rm_cat = ro...

How to show Active Areas in Angular4

Answered: You might be defining onBeforeEventRender handler too late in the component lifecycle (after it is rendered). Try adding it to the config object (see also the Angular 4 Calendar tutorial at https://c...

One Event with multiple resources but same EventId

Answered: You need to supply one item in the datasource for each of the rows. Typically, you'll be storing the resources assignment (event-resource link) as a separate DB record anyway. I recommend using the a...

How do I specify Landscape for Print?

Answered: I did a couple of tests but unfortunately the only browser that lets you specify orientation when printing is Chrome. The only reliable way is to create a PDF file and insert the exported image. See ...