Questions Tagged
Window resize cell line miss mach with time cell.
Answered: I'm not able to reproduce the problem in any major browser (Chrome, Firefox, IE, Edge). You might be using a custom CSS theme that prevents proper scaling.
AllowEventOverlapping on the basis of conditions.
Answered: You need to implement a custom rule using onEventMoving event handler - in the ASP.NET version it's accessible using EventMovingJavaScript property. See also: https://doc.daypilot.org/scheduler/event...
CallBack as EventClickHandling and Using DayPilotCalendar1_EventClick method in cs file , want to use Redirect in DayPilotCalendar1_EventClick method
Answered: To perform a server-side redirect you need to use "PostBack" event handling type.
backend_delete
Answered: Please take a look at the documentation: https://doc.daypilot.org/calendar/event-deleting/ You need to use onEventDelete event handler to call backend_delete.php endpoint on the server side. You need...
Scheduler - Row header columns export issue
Answered: There was a bug which caused the width of the first column to be calculated incorrectly - that made the text invisible for args.horizontalAlignment = "center". It should be fixed now in the latest sa...
Identify whether Event is selected or not
Answered: Please see multiselect.isSelected() method: https://api.daypilot.org/daypilot-scheduler-multiselect-isselected/
Issue "TypeError: e.copy is not a function [Learn More] daypilot-all-pro.min.js"
Answered: The dp.events.update() method (https://api.daypilot.org/daypilot-scheduler-events-update/) requires a DayPilot.Event object (https://api.daypilot.org/daypilot-event-class/) as a parameter. You can ge...
navigator control
Answered: You can get the visible date range using VisibleStart and VisibleEnd properties.
Histogram support
Answered: Unfortunately a histogram is not available at the moment. There is a similar feature that you might be able to use to display the resource utilization/overbooking: https://javascript.daypilot.org/dem...
In DayPilot pro version Timerangeselect is working only for selection not for left click
Answered: Are you using the latest version? In the demo, it works with a grid cell click just fine: https://aspnet.daypilot.org/demo/Calendar/
calculation
If I want to add a calculation can you show me how? I downloaded the full booking system but for my school project, the system should have some sort of a calculation!
e.DurationBarColor
Hi, I'm working on a scheduler using daypilot lite. I would like to change de color of my duration bar. I use this event : protected void DayPilotScheduler1_BeforeEventRender(object sender, BeforeEve...
Number of Days and Performance
Answered: In the ASP.NET version, you can load the events dynamically during scrolling: https://doc.daypilot.org/scheduler/dynamic-event-loading/ This still requires the timeline to be loaded in full. That sho...
Renewal option
Answered: You can renew later but the renewal will always start on the expiration date.
just update event without notification
Answered: Yes, correct. The .queue() and .notify() calls are only necessary if you want to send an update to the server. If you just want to make a client-side change you don't need to call any of them.
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
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...
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/
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....
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...
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...
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...
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 ...
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 ...
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-...
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/
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.