Questions Tagged javascript

Rendering issue, misaligned events

Answered: Saw here and apparently it’s the global CSS border property messing with the table https://forums.daypilot.org/question/4960/why-daypilot-lines-are-not-aligned

how to dynamically add color to each tasks

Answered: You can use the onBeforeEventRender event to set custom event color in the Scheduler. The color can be set either directly using args.data.backColor or via a CSS class (by setting args.data.cssClass ...

Events displayed only on 30 minute boundaries?

Answered: At this moment, the Lite version of the Calendar only displays events this way - the start and end times are aligned with the grid cells and the real duration is highlighted using the duration bar . ...

Guest calendar

Answered: Please take a look at this tutorial: JavaScript Calendar in Read-Only Mode (Open-Source)

on gantt row expand

Answered: Since version 2025.1.5435 , it is possible to handle these actions using these new events: onRowCollapse onRowExpand

Is it possible to edit gantt chart event

Answered: Yes, it is possible to activate inline editing mode for the row headers , or you can open a modal dialog with task details on click (see Task Editing ).

Facing issue while exporting data in RTL

Answered: Unfortunately, the image export is not supported in the RTL mode at the moment. It’s in the plan, but we can’t promise any delivery date.

How to groupBy?

Answered: You can create custom time header segments using the method described in this tutorial: JavaScript Scheduler: Custom Time Header Segments

Excel export for Gantt?

Answered: Hi Leo, Sorry for the delay. Gantt export to Excel in the works and it will be available soon.

Error constructing DayPilot.Date()

Answered: Have you modified the source code? Or maybe you have overwritten the DayPilot.Date object? Because all this should work fine - you can also test it in the JavaScript console in the online demo .