Active Questions
options to split hour
Answered: For the Calendar component (used in index.php and doctor.php) you can adjust the scale to show 15-minute cells using cellDuration property:
var calendar= new DayPilot.Calendar("dp");
// ...
calen...
Filtering
I believe I have found a bug with the filtering function. I have two different pages on my web site with two different occurences of the Daypilot scheduler, and the filtering is working nicely on of ...
How to get all events by Resource
Answered: Ben, You can get a list of all events like this:
var events = dp.rows.find("A").events.all();
And delete them:
dp.rows.find("A").events.all().forEach(function(e) {
dp.events.remove(e);
})...
Navigator Render error
Answered: hi thanks for your fix answer. JavaScript 2018.2.3281 and i use electron with Chromium 61.0.3163.100. thanks
Drag items off scheduler
Answered: At this moment, you can only drop the events on another Scheduler instance. There are two ways to approach this: 1. Use a context menu item (something like "Unschedule") to remove an event from the S...
Drag and select default (without holding shift key)
Answered: You can change the behavior using onGridMouseDown event handler: https://api.daypilot.org/daypilot-scheduler-ongridmousedown/ Example:
dp.onGridMouseDown = function(args) {
args.action = "Rectan...
Reduce tree parent heights compared to children
Answered: The row height is derived from the event height (the total height is adjusted automatically to fit all events). You can specify custom event height for the parent rows using eventHeight property: htt...
Manual scale timeline with minutes
Answered: Henry, The time headers can use one of the group sizes defined here: https://doc.daypilot.org/scheduler/time-header-groups/ If you want to use a group size smaller than one hour you need to use group...
No themes other than defualt included with Angular package 2018.2.3281
Answered: The sample CSS themes (including scheduler_8) can be found in the zip package (both trial and full versions), in demo/themes directory. You can also download it directly using this link: https://java...
DayPilot Calendar Angular allowEventOverlap = false Not preventing Event Overlap
Answered: It looks like you are using an old version - the allowEventOverlap property is supported since 2018.1.3187 in the Calendar component: https://javascript.daypilot.org/daypilot-pro-for-javascript-2018-...
java.lang.NoClassDefFoundError: Could not initialize class org.hsqldb.lib.FrameworkLogger
getting noclassdeffounderror exception, below is the full stack: May 24, 2018 12:12:25 PM org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/EventCalendarTier3].[DpcServlet] invoke SEVER...
Angular 6 error
Answered: Martin- Angular 6 requires DayPilot Pro version 2018.2.3281 or later: https://javascript.daypilot.org/daypilot-pro-for-javascript-2018-2-3281/ I'm not able to reproduce the error with that version. T...
Changing the Daypilot instance
Answered: I found the solution myself, would be of help to others if ever come across this question. I simply used the dispose() method of the DayPilot, so when the event is triggered, I first got rid of the e...
e.DurationBarColor
Hi, I'm working on a scheduler using daypilot lite. I would like to change de color of my duration bar. I use this event : protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEve...
Window resize cell line miss mach with time cell.
Answered: I'm not able to reproduce the problem in any major browser (Chrome, Firefox, IE, Edge). You might be using a custom CSS theme that prevents proper scaling.
DayPilot Context menu submenu
Answered: This was caused by a missing "items" property in the TypeScript definition of MenuItemData interface. It's now fixed in the latest sandbox build (2018.2.3283). Please let me know if it doesn't work a...
Link between assignment and recurrence
Answered: Please see the SQL schema at the bottom of the article. The recurrence information (serialized rule) is stored in AssignmentRecurrence field (Assignment table). DayPilot uses this rule to expand this...
Angular 6 issue
Answered: This looks like a bug of Angular CLI. There seems to be a problem with all dependencies that are not stored in the npmjs registry (such as tarball and git sources): https://github.com/angular/angular...
AllowEventOverlapping on the basis of conditions.
Answered: You need to implement a custom rule using onEventMoving event handler - in the ASP.NET version it's accessible using EventMovingJavaScript property. See also: https://doc.daypilot.org/scheduler/event...