Active Questions
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...
concurrent event groups
Answered: Now (since build 8.3.2847) you can also access the events in the group using args.group.events array: https://api.daypilot.org/daypilot-scheduler-onbeforegrouprender/ The latest build is available in...
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...
Reset "args" data in "onEventMoved"
Answered: This issue should be fixed now in the latest sandbox build (8.3.2841): https://javascript.daypilot.org/sandbox/ Let me know if the problem persists.
How to capture mousedown on events
Answered: There is onAfterEventRender event that you can use to attach custom listeners to the event div: https://api.daypilot.org/daypilot-scheduler-onaftereventrender/ Example
dp.onAfterEventRender = funct...
Day pilot scheduler is not showing all events in angular 2
Day pilot scheduler is not showing all events. It just display events for the visible contents. it does not show events for the days for which we need to scroll. Show it is only showing records on fi...
Angular Scheduler: setting htmlLeft from onBeforeEventRender
Answered: It should be fixed now in the latest sandbox build (8.3.2842): https://javascript.daypilot.org/sandbox/ Let me know if the problem persists.
How can I change font css for a specific Task Column in Gantt Chart
Answered: Each row header column cell is marked with several CSS classes. One of them is column-specific and includes the column number. Example: Column #2 (indexed from 0) with the default theme ("gantt_defau...
typescript can't find Property 'makeDraggable'
Answered: DayPilot.Scheduler.makeDraggable() is now included in the TypeScript definitions (since https://javascript.daypilot.org/daypilot-pro-for-javascript-8-3-sp12/).
Hide resource without event
Answered: It's possible to hide the rows without events using client-side row filtering. There is a tutorial available for the JavaScript version of DayPilot Pro: https://code.daypilot.org/97960/html5-schedule...
can't set color in cell when getDayOfWeek() == 7
Answered: DayPilot.Date.getDayOfWeek() returns 0 for Sunday, 1 for Monday ... 6 for Saturday: https://api.daypilot.org/daypilot-date-getdayofweek/
Event overlap javascript
Answered: Found a solution:
dc = dp.resources[x].children[y].id;
var dcStart = dp.events.find(dc).data.start;
var dcEnd = dp.events.find(dc).data.end;
var deStart = args.start.addMinutes(30);
var deEn...
Angular 4
Answered: The DayPilot namespace still works the same way. Just import it:
import {DayPilot, DayPilotSchedulerComponent} from "daypilot-pro-angular";
And you can use it in the code.
Move resource server side in Scheduler
Answered: The resources will be displayed in the order specified in the Resources collection. When adding a new Resource just insert it at the specified position or sort the collection before updating the Sche...
Error while compiling angular2 project using AOT compiler " StaticSymbols in summaries can't have members!".
Answered: The latest sandbox build (8.3.2769) now supports AOT. The Angular 2 components were moved out of the DayPilot.Angular namespace and it's necessary to use the new component names. The old components i...
Daypilot scheduler demo version
Answered: The trial version of DayPilot Pro can only be used for evaluation purposes and can't be used in live applications. If you want to deploy it you have to purchase a license: https://javascript.daypilot...
Callendars scrollbars working as one
Answered: You're right, sorry. The latest version requires a different syntax.
@Html.DayPilotCalendar("dpc1", ...)
@Html.DayPilotCalendar("dpc2", ...)
<script>
dpc1.nav.bottomRight.addEventListener("s...
AreaCollection in DayPilot calendar
Answered: Active areas were not supported in the Calendar grid cells until now. However, this feature is now available in the latest sandbox build (8.3.5867): https://mvc.daypilot.org/sandbox/
Implementing a navigator in a Resource View
Answered: The visibleStart() and visibleEnd() are guaranteed to work only for the following viewTypes: "Day" "Week" "WorkWeek" The primary purpose of these methods is to provide information on the dates that w...
Kanban - args.preventDefault()
Answered: This issue should be fixed now in the latest sandbox build (8.3.2792): https://javascript.daypilot.org/sandbox/