Questions Tagged javascript

Remove Delayed Bubble Display

Hi, Question 1. I applied the bubble display on event hover. But the problem is the bubble displays after some time display. Can we make it instantly as soon as mouse hover over the event? Question 2...

Logical overnight scheduling

Answered: Hi Paul, This feature is not intended as a workaround for displaying long events. It's designed for views where the day boundaries are shifted - e.g. tv listings. The calendar will display events spa...

Group resources

Answered: Unfortunately, this kind of arrangement is not supported at the moment. The parent resource will always be displayed as a separate row.

Remove checkboxes

Answered: You can override the CSS for the leaf node icon. For the default theme, the CSS class is called "scheduler_default_tree_image_no_children". See also: https://doc.daypilot.org/scheduler/css-classes/ Y...

Multi-year 52 week planner

Answered: Yes, you can use scale: "Week" which uses a week as a cell size: https://javascript.daypilot.org/sandbox/scheduler/scaleweeks.html The week start is determined using the current locale ( https://api....

Zoom in/out feature

Answered: Please see the following tutorial that shows how to implement zoom for the Scheduler component in JavaScript: https://code.daypilot.org/32893/javascript-scheduler-zoom

How to collapse all groups by default ?

Answered: You probably mean the Gantt chart which displays the nodes expanded by default. You can override the default value using row.collapsed property of the data object: { id: 1 start: "2019-01-01T09:00:00...

How to call custom function in onTimeRangeSelected

Answered: When you use the JavaScript declaration style you won't be able to access the component object as "this": onTimeRangeSelected: function(args) { // ... this.myFunction(); // won't work } It's necessar...

Screen Resolutions and exportAs()

Answered: The Calendar and Month components now support options.width parameter that will let you override the dynamic width calculated from the current view. It's available since build 2019.1.3595 (see the sa...

Render Angular component into DayPilotMonth event

Answered: The onDomAddEvent and onDomRemoveEvent event handlers are not yet supported in all components. In the DayPilotMonth component it's now available since 2019.1.3594 (use the latest sandbox version - ht...

Month Control: print() for exportAs

Answered: The print() method prints the exported image using the browser print() function. There is no way to control how the printed page will look like using the browser API. It can only be set by the user i...