Active Questions
Database
Answered: The SQL Server database schema looks like this:
CREATE TABLE [dbo].[Assignment] (
[AssignmentId] BIGINT IDENTITY (1, 1) NOT NULL,
[AssignmentNote] VARCHAR (2000) NULL,
[A...
Navigator for both dayPilotMonth and DayPilotCalendar
Answered: https://code.daypilot.org/18967/event-calendar-with-day-week-month-views-for-asp-net-webfor probably is the answer thank you f
e.FontColor doesn't work in ASP.NET DayPilotCalendar
Answered: This issue should be fixed now in the latest sandbox build (2018.2.3649): https://aspnet.daypilot.org/sandbox/
AllowEventOverlap for specific resources
Answered: Just in case anybody stumbles over this problem or wants to achieve something similar I found this page (https://doc.daypilot.org/scheduler/event-moving-customization/) very helpful. You can basicall...
Event Drag Shadow displaying in wrong Resource Column
Answered: Thanks Dan! We have found the issue. There was a hidden "body { zoom: 80% }" in one of the libraries we used. Removing this solved the problem, and now we can make the correct changes to make everyth...
Angular CLI - Module build failed: RangeError: Maximum call stack size exceeded
Answered: I've tested a clean new project generated using Angular CLI 1.7.4 and it works fine. After adding DayPilot Pro 8.4.3056
npm install https://npm.daypilot.org/daypilot-pro-angular/trial/8.4.3056.tar....
Can't drag events when a cell is disabled
When I disable a cell and try to drag an event that starts (or ends) outside the current view to another enabled cell, I get the above error on console. Nothing happens after it. ERROR TypeError: Can...
Disable event overlap
Answered: The Scheduler can prevents overlap during drag and drop operations (https://doc.daypilot.org/scheduler/event-overlaps/). However, if you need to check the validity of the input values in a modal dial...
TimeRangeDoubleClick not working
Answered: Time range double click is disabled by default. You need to enable it first using timeRangeDoubleClickHandling property: https://doc.daypilot.org/scheduler/time-range-double-click/ Let me know if it ...
Move event
Answered: Please ignore this question. I have found the issue, there is something wrong with my loadEvent function. The system requires array of objects(something likes [{123},{124}]), however I sent array of ...
Update multiple Event to server in loop
Answered: If you have 300 events in events.list this code will fire 300 HTTP requests which will complete in more or less random order. In the success callback, you are requesting a full update() - the update ...
Keep expanded/Collapsed state after a postback Daypilot Gantt
Answered: If you set StoreTasksInViewState="true" the current state of the whole task hierarchy will be saved in the ViewState and it will be available on the server side during PostBacks.
addClass for cell?
Answered: You can use DayPilot.Util.addClassToString() helper method:
args.cell.cssClass = DayPilot.Util.addClassToString(args.cell.cssClass, "my-class");
This will handle the spaces and also check if "my-...
Create Event half way through the day
Answered: At this moment the time range selection only works for whole steps (the snap-to-grid option doesn't apply here - https://doc.daypilot.org/scheduler/snap-to-grid/). However, you can use smaller cells ...
Seaparator in each Saturday?
Answered: Each separator has to be entered as a special item in the separators array. I recommend using a loop to generate it for all Saturdays in the selected date range.
Load blocked cells via ajax?
Answered: You can store your period data in resources[] or in a global array and use onBeforeCellRender to check overlaps with the current cell. There is an Angular tutorial that shows how to do that - it's wr...
DayPilot Pro for ASP.NET Core
Answered: Yes, the special ASP.NET Core version of DayPilot is on hold at the moment. I recommend using the JavaScript version instead - it provides greater flexibility and control than the integrated server-s...
Daypilot scheduler 2018.1.3203. showNonBusiness false still shows weekends
Answered: This behavior was caused by a bug. It's fixed now in the latest sandbox build (2018.2.3214): https://javascript.daypilot.org/sandbox/ Please let me know if the problem persists.
Event Calendar
Answered: Have you checked the docs? https://doc.daypilot.org/scheduler/event-deleting/
calendar ScrollPosition
i have a calendar with "days" view configured it shows all days of a daterange of 2 months (ca 62 days) dp.days =7 (because i only wanna see 7 days and scroll horizontally to the rest of the days) ho...