Questions Tagged javascript

Bubble error on production

Hello I have updated the version as I saw on your previous answers but still have error when hovering on the scheduler cells. Its happening only on production. thanks

Displaying scheduler inside of a popup

Answered: You can set the Scheduler to use full height of its parent (see https://doc.daypilot.org/scheduler/100-pct-height/ ) to avoid duplicate vertical scrollbar. The horizontal scrollbar can be avoided usi...

DayPilot in AngularJS with webpack

Answered: After a night sleeping on the issue, found the solution. DayPilot registers the module in angular using angular.module("daypilot",[]) so in order to register one needs to use the 'daypilot' module na...

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...

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...

Navigator not right

Answered: Yes, the latest version is 8.3.2848: https://javascript.daypilot.org/try/ Did you download it as part of a tutorial? It may need an update - could you please let me know the URL?

resourceHoverHandling

Answered: Since build 2852 it's possible to use action: "Bubble" for row headers as well: dp.resourceBubble = null; dp.onBeforeRowHeaderRender = function(args) { args.row.data.bubbleHtml = "Test"; args.row.are...

Resource rows not lining up with schedule rows in Chrome

Answered: It looks like some global CSS may interfere with the Scheduler CSS styles. You can try to disable the global styles temporarily to see if it is the case. Also, it looks like you are using an old vers...

interval date of events

Answered: DayPilot interprets the dates in your example as "2017-04-01T00:00:00" and "2017-04-05T00:00:00" - that should explain the default behavior. You can switch the behavior using eventEndSpec property: e...

Angular 2, cell bubbles during event move

Hi When moving an event with drag and drop our cell bubbles are shown during drag where the grab handle happens to be placed on the event, instead I would like to display a bubble with the targeted s...