All Questions

Scheduler - Change Event Duration Bar Position to Left

Answered: If you need a simple bar with a specified color then you can use an active area: https://doc.daypilot.org/scheduler/event-active-areas/ You can also change the position of the duration bar by modifyi...

On BeforeCellRender Setting CssClass

Answered: The custom CSS class will be applied to all cells. The cells that belong to a parent resource may have additional CSS applied that affect the appearance. Make sure that your CSS overrides that. The b...

Utilize full cell when max hours = 9 hours

Answered: If you use the default .useEventBoxes value the events will be aligned with the grid cells: dp.useEventBoxes = "Always"; See also: https://doc.daypilot.org/scheduler/exact-event-duration/

Include library in angular with webpack

Answered: If you import DayPilotModule in your own module like this: @NgModule({ imports: [ // ... DayPilotModule ], // ... }) export class SchedulerModule { } You'll be able to import the "DayPilot" namespace...

Fixed width on kanban when we have a lot of columns

Answered: It's now possible to use fixed column width (since build 8.4.2890). See the sandbox: https://javascript.daypilot.org/sandbox/kanban/columnfixedwidth.html You can switch to fixed width like this: dp.c...

Modular DayPilot for Angular 4

Answered: At this moment it's not possible but we are checking if there is a way to exclude parts of the js file that are not needed. A quick stats FYI: The Scheduler itself (without helper classes like Menu, ...

Calendar _onMainRightClick

Answered: This should be already fixed since build 2886. See the sandbox: https://javascript.daypilot.org/sandbox/ Let me know if the problem persists. And thanks for reporting the issue.

How to find a resource by mouse position

Hi; How to find a resource by mouse position on rowColumnHeader using onmouseup event (not usingDaypilot.contextMenuResource) ! I used jquery like this $("body").on("mouseup",".scheduler_hotelca_rowh...

Set event bacground image without repeating

Answered: You can use an active area ( https://doc.daypilot.org/scheduler/event-active-areas/ ) to place a custom rectangle the the specified position. Like this: e.Areas.Add(new Area().Bottom(0).Left(0).Width...

Timeline Chart - Selenium

Answered: The best way to target the DOM elements would be using the internal CSS classes (derived from the theme name) that are applied to the Scheduler: https://kb.daypilot.org/62119/list-of-css-classes-used...

Memory leak on Daypilot on Modal window

Answered: The upcoming version of DayPilot.Modal (2.8) will include a fix for this. You can also release the reference manually by calling "modal.iframe = null;" in onClosed event handler. Note that if you reu...

Where is documentation on <daypilot-gantt> tag?

Answered: The documentation can be found here: AngularJS 1.x documentation for <daypilot-gantt>: https://doc.daypilot.org/gantt/angularjs/ Angular 2+ documentation for <daypilot-gantt>: https://doc.daypilot.or...

DayPilot Scheduler - Scheduling

Answered: The resource id is available in "resource" variable in TimeRangeSelectedJavaScript: <DayPilot:DayPilotScheduler TimeRangeSelectedHandling="JavaScript" TimeRangeSelectedJavaScript="console.log(start +...

GANTT: Calculating time for superordinate task

Dear all, I posted this issue one year before, but still found no solution. when I create 2 subtasks, the superordinate task does not calculate to correct days. (Means beginning of the first task and...

Serialize ResourcesCollection

After I added sessionState in StateServer mode in the web.config. I encountered System.Runtime.Serialization.SerializationException in the serialization of ResourceCollection. The text of the error i...