Questions Tagged bug
Navigator not right
Answered: Yes, the latest version is 8.3.2848: https://javascript.daypilot.org/try/ Did you download it as part of a tutorial? It may need an update - could you please let me know the URL?
Resource rows not lining up with schedule rows in Chrome
Answered: It looks like some global CSS may interfere with the Scheduler CSS styles. You can try to disable the global styles temporarily to see if it is the case. Also, it looks like you are using an old vers...
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...
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...
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/
Performance issue when adding/deleting entity in daypilot
Answered: Please hold on - the events.add() and events.remove() optimizations are in the works. At this moment it redraws the full row because it's always safe (the added/removed event can affect row height an...
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/
StartDate = null after decode a recurring event.
Hi everyone, I am useing the following code to make a recurring event. RecurrenceRule rule= RecurrenceRule.FromDateTime(id, start).Weekly().Times(times); In rule the StartDate is correct. After Encod...
DayPilot.Scheduler.resources expects an array object in 8.3.2724
Hello, I evaluated feasibility of daypilot in Angular in trial of version 1938 and now we bought licensed code. Once I copied library I started to getting error: DayPilot.Scheduler.resources expects ...
SyntaxError: Unexpected token in JSON at position 0
Answered: It is definitively related to the use of BOM, If I open the file I clearly see the [ at first position but if the file is read through fs, the BOM is not stripped and the JSON.parse fails.
Gantt: onBeforeTaskRender cssClass not working
Answered: You need to specify the CSS class for either the row header (args.data.row.cssClass) or for the task box in the grid (args.data.box.cssClass). In the Gantt chart, args.data.cssClass doesn't exist:
...
Demo failed in Visual Studio 2017
Hi The demo opened OK and built OK, however, when I ran it in Internet Explorer I got Server Error in '/' Application Exception Details: System.IO.FileLoadException: Could not load file or assembly '...
Events show less one day and endDate on TimeRageSelected gives 1 more day
Answered: This is by design. Please see this topic for more details and other options: https://doc.daypilot.org/scheduler/event-end-date-time/
Leak on the splitter object in daypilot-all.debug.js
We found out that the events 'mouseup' and 'mousemove' registered in daypilot-all.debug.js line 6227 are never unregistered, causing a leak every time you zoom in/out of the component. this.registerG...
Incompatible DayPilot client script version. Expected 2717 (you are using 1478)
Answered: It looks like the old version of the client-side script is still cached somewhere. You can try forcing a reload by adding a random query string to the js file url (e.g. a version number):
<script s...
Svg export bug
Answered: The time header background color should now work properly with the latest sanbox build (8.3.2737): https://javascript.daypilot.org/sandbox/ The export doesn't support HTML in the Scheduler elements a...
cells don't appear with background color
Answered: Are you using the latest DayPilot Pro version? This normally shouldn't happen and I'm not able to reproduce this problem. Anyway, as a workaround you can also call: dp.show(); It has the same effect ...
Angular2 : problem with licensed version
Answered: There is a bug in the latest release. It's already fixed in the latest sandbox build and a new release is on the way - it will be available later today. Meanwhile, you can use the previous release (8...
DayPilotBubble not showing on Touch/Mobile devices (iOS/Android)
Answered: Hi Piet, The problem is that the previous behavior was not intended - it was never supposed open a cell bubble on tap. Cell tapping selects a single cell and fires TimeRangeSelected event. You should...
DayPilotScheduler variable no longer available
Answered: Yes, DayPilotScheduler namespace is deprecated as is no longer available. Instead of DayPilotScheduler.dragStart() you can use DayPilot.Scheduler.startDragging(options): Old syntax:
DayPilotSchedul...
Bubble not showing when hovering over event
Answered: Pete, What version of DayPilot do you use? There is a bug in version 8.3 SP3 (8.3.3568) which prevents the Bubble activation. It's fixed now in the latest release: https://www.daypilot.org/daypilot-p...
Scheduler OnTimeRangeSelected shows wrong start/end
I set business hours at 7-23 and do not want to show non business hours. My code looks like this: http://pastebin.com/V5RhtV0d The thing is that on time range selected it shows wrong hours, e.g. star...
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...
Scheduler for Angular2 not creating resource children
Answered: The resource tree is disabled by default (it adds node icons to the rows which is not desired if it's a flat structure). You can enable by adding "treeEnabled: true":
config: any = {
scale: ...
Daypilot is calling Pageload multiple times
Answered: DayPilot uses the standard ASP.NET CallBack mechanism to communicate with the server side. Each callback fires the respective event handler (e.g. EventMove) but it also goes through Page_Load first. ...
Angular2 Scheduler performance issue after upgrade
Answered: It looks like zone.js generates an internal error whenever an event handler is assigned to a DOM object. This error is handled internally - I'm not sure if it's part of the standard workflow, but it'...
Scheduler event inline editing problem
hallo, i use the latest version (8.3.3553) of daypilot scheduler for asp.net. i have problems with a weird behaviour of inline editing. i start inline editing using EventClickHandling=Javascript. if ...
TimeRange moving down and down
Answered: Ah you're right, have no idea who changed it, but on 100% it is fine, sorry for problem.
angular2-scheduler-spring-frontend npm start
Answered: Unfortunately I can't see the attachment. However, you may need to install Angular CLI globally first:
npm install -g angular-cli
The tutorial is built using Angular CLI version 1.0.0-beta.19-3. ...