Active Questions
Uncaught Error: Event data item must specify 'start' property
Answered: You need to check the Scheduler event data (dp.events.list). The data items must use the structure described here: https://api.daypilot.org/daypilot-event-data/ This error suggests that the data item...
Calendar - Make delete icon stay on event
Answered: If you disable the built-in delete icon using eventDeleteHandling="Disabled" you will be able to add a custom icon using active areas. See also an example in the docs (https://doc.daypilot.org/schedu...
Adding a new event with client-side immediate update
Answered: After you create the new event in newcalevent.php, you need to send the event details (including the id) back to the main page using DayPilot.Modal.close():
var eventdata = {
id: ...,
start: ...
Properties not functioning in add event
Answered: I've tested it by adding this to the main scheduler demo page (https://javascript.daypilot.org/demo/scheduler/) and it seems to work fine:
dp.onTimeRangeSelected = function (args) {
dp...
IE Error when clicking on/resizing an event using Warmup/Cool down Areas
Answered: This is a DayPilot bug. It has been fixed now in the latest sandbox build (2019.4.4159): https://javascript.daypilot.org/sandbox/ Please let me know if the problem persists.
Multiple resources header
Answered: The Calendar can display a hierarchy of columns, just use the "children" property to specify child columns. You can also set the date for each column using the "start" property. See also: https://doc...
Angular Scheduler Zoom : 'name' does not exist in type 'ZoomLevel
Answered: This should be fixed now in the latest sandbox build (2019.4.4154). The tutorial project uses an untyped config object so you can use this approach as a workaround:
config: any = {
// ...
}
Parser error using DayPilot PRO
Answered: It looks like the reference requires a specific dll version. You should try to remove the reference to DayPilot.dll and re-add it. Also, don't forget to rebuild the solution.
eventDeleteHandling does not remove event
Answered: Looks like I continue to find my own solutions. :) That's a good thing. Here's the missing code that I found to assist me. var e = dp.events.find(args.e.id()); dp.events.remove(e);
Angular Scheduler Event Link Delete ContentMenu
Answered: The SchedulerConfig.contextMenuLink property is now supported in the latest version: https://javascript.daypilot.org/daypilot-pro-for-javascript-2019-4-4153/
Line of Linked Events on Odd numbered rows are hidden*don't show
Answered: It looks like it might be caused by a scaled view (e.g. browser zoom level not set to 100%). You can try to reset the browser zoom level or increase the link width.
Customer Event Add Modal
Answered: When the users selects a time range the Scheduler fires the onTimeRangeSelected event:
onTimeRangeSelected: args => {
this.create.show(args);
}
You can modify the event handler to...
How to disable moving certain events
Answered: It looks like you are using the ASP.NET syntax. In JavaScript, the property name is "moveDisabled".
dp.onBeforeEventRender = function(args) {
args.data.moveDisabled = true;
};
See also: https...
Angular Gantt Chart different Tasks in same one row
Answered: Only the Scheduler component can display multiple events/task in the same row. But it supports event links as well: https://javascript.daypilot.org/demo/scheduler/eventlinks.html
Can't refresh daypilotscheduler
Answered: If you need to update two controls at once in ASP.NET WebForms, there are two options: 1. You can place both controls in an UpdatePanel and use PostBack event handling. In the event handler, you will...
Click on a eventLink and make some
Answered: Hi Vane, The latest sandbox build (2019.4.4122) now supports onLinkClick and onLinkClicked events. https://javascript.daypilot.org/sandbox/ It will let you implement this logic but it will also requi...
Tutorial for Asp.Net Core
Answered: There is a tutorial that shows how to use the Pro version in an ASP.NET Core application: https://code.daypilot.org/31735/javascript-weekly-calendar-asp-net-core This project will work with the Lite ...
onBeforeRowHeaderExport never called
Answered: This was a regression that should be fixed now in the latest build (2019.4.4124+). Please let me know if the problem persists.
Angular DayPilot.Scheduler Object Missing on Gantt
Answered: Accessing the internal "scheduler" object is a fallback solution and that's why the scheduler property is not included in the TypeScript definitions. You'll be able to access it if you cast the sched...