Active Questions
Demo version question
Answered: The demo doesn't have this kind of limitation. It might be your bug, but it might also be a DayPilot bug - so let me know in that case.
How can I update the DayPilot in modal after adding events?
Answered: The Scheduler needs to read its own dimensions after rendering in order to render the current viewport. This isn't possible if the Scheduler is in a hidden area of a page (e.g. in a <div> with displa...
Scheduler Event Resize Issue
In DayPilot Scheduler Event drag is working fine but I cannot resize the event by dragging. Can Anybody help me to fix this Issue? Using following version. DayPilot Pro Copyright (c) 2005 - 2016 Annp...
dayPilot licence
Answered: There are two editions of DayPilot: 1. DayPilot Lite (Open-Source) - available under Apache License 2.0 DayPilot Lite for ASP.NET: http://www.daypilot.org/daypilot-lite/ DayPilot Lite for MVC: http:/...
change the color
Answered: You can set the grid cell color using BeforeCellRender event handler. Alternate row colors: https://doc.daypilot.org/scheduler/alternate-row-colors/ Note that BeforeCellRender/e.X and e.Y are availab...
If you end modal with OK, it will result in an error.
If you end modal with OK, it will result in an error. Line: 1 Error: 'JSON' is not defined. It is normal to end modal with CANCEL
Disable daypilot.task.complete (percentage) on DayPilot Gantt
There are times I do not want to show the progress (complete percentage) of each task in DayPilot Gantt. Is there anyway to disable/hide the complete percentage progress text? Instead I would show ta...
The END date will be added one day
Answered: This behavior is described here: https://doc.daypilot.org/scheduler/event-end-date-time/ You can switch the logic using EventEndSpec="Date" (the default value is EventEndSpec="DateTime"). Let me know...
How to display more than one(current) mont ?
I have a sheduler like on screenshot. Unfortunately it shows only reservations(load from database) from current month. I'm able to display more days (eg dp.days = 365;) but there's no cells(only line...
Not allowed to add event on same place after Deleting the event
Answered: Got this to work with following code change:- let shiftToDelete = dp.events.find(this.selectedEventId); dp.events.remove(shiftToDelete); dp.clearSelection(); But is it necessary to call clear selecti...
Servers
Answered: With Angular CLI (which uses Webpack) the Angular 2 project needs to be run using "ng serve" (available as "npm run start"/"npm start") during development. That's why the tutorial uses two independen...
Change DurationBarColor when click
How can I change the DurationBarColor when I click on event? (Gantt) Is there a way that I can change a specific event style box from the program? When I tried the DurationBarColor it didn't work for...
How to hide Daypilot.contextMenu
Answered: You can use hideOnMouseOut property:
var dp = new DayPilot.Menu({
items: [ {...}, {...}],
hideOnMouseOut: true
});
dp.scrollTo is giving performance issue on IE browser
Answered: Hi Devendra, Have you seen this thread? http://forums.daypilot.org/Topic.aspx/3626/angular2-scheduler-performance-issue-after-upgrade The latest Angular 2 version (2.3+) degrades Scheduler performanc...
How to change the Day Width
Answered: You can customize the cell width using cellWidth property. The Gantt chart component is based on the Scheduler and in uses the same API:
dp.cellWidth = 60;
dp.update();
Scheduler for MVC 5 demo
Answered: The download package includes binaries for MVC3, MVC4 and MVC5. The demo that is included is configured to run with MVC4. You can switch the demo to work with MVC5 (updating the references and web.co...
Scheduler not working
Answered: Ok, nevermind I just used the function I wrote before: protected override void OnBeforeCellRender(BeforeCellRenderArgs e) { if ((e.Start.DayOfWeek == DayOfWeek.Saturday || e.Start.DayOfWeek == DayOfW...
Angular2 row filter + auto width
Answered: A tutorial on row filtering in Angular 2 is in the works and it will be published in a day or two. The row header width autofit should work fine, let me check that.