Questions Tagged
External item dragging into scheduler
Hi, We have used makeDraggable function and set keepElement: true as we have to use same item multiple rows. When i dragged the same item twice and moved or resized the item.One item disappears. Plea...
fatal error
Answered: It looks like the 'ODBC' user doesn't have sufficient permissions (to access the database). See also: https://dev.mysql.com/doc/refman/5.7/en/privilege-system.html
DayPilot Scheduler end date set as current
Answered: Use:
days: 7,
instead of
days: new DayPilot.Date().dayOfWeek(),
Uncaught TypeError: Cannot read property 'calendar' of null
These errors keep on coming after I delete an event
daypilot remove event using javascript event listener
Answered: The events.remove() method requires DayPilot.Event object. This is the recommended way to add a custom icon with an onclick event handler (using an active area):
<div id="dp"></div>
<script type="...
Infinite scroll
Hi, How does infinite scrolling work? I found a demo where the feature works but when I try to apply it to our code there are problems with the scrollTo call. It does not scroll at the desired time. ...
Scrolling for past 30 days and future 30 days
Hi, How to allow user to scroll left and right to 30 days in the past and 30 days in the future respectively in day pilot scheduler?
Event moving and dragging not working in IE
Answered: This was a bug of the last release. It's fixed now in version 8.4 SP3: https://javascript.daypilot.org/daypilot-pro-for-javascript-8-4-sp3/
Disabling thick boarders when generating custom timeline
Answered: This is a line that is highlights places where the timeline is interrupted (a cell doesn't start at the same time where the previous cell ends). You can override the CSS manually like this (for the d...
DataTextField text with vbcrlf
Answered: You can provide custom HTML that will be used for event content using BeforeEventRender event handler: https://doc.daypilot.org/calendar/event-customization/ Your event handler could look like this (...
FirstDayOfWeek
Answered: The Lite version uses the first day of week that is read from the current Culture. It works automatically for ViewType="Week". You can also display custom number of days (Days property) starting at c...
Wanted to implement Day Pilot Calender control using Anguler JS
Answered: Please see the AngularJS tutorials available at code.daypilot.org: https://code.daypilot.org/tag/angularjs That could be a good start for your application. You can customize the event depending on it...
Is there any feature for showing time range scheduling line for Parent resource?
Answered: At this moment the Scheduler doesn't generate summary events automatically. However, you can generate it manually based on the DB data a display it in the parent row using the parent row id.
How to hide the Trail message popup in IIS SERVER?
Answered: The trial version displays a "DEMO" label and also a popup to remind you that you are using a version that is not licensed for production. If you want to deploy DayPilot as part of your application y...
For how many days trial version of Day pilot pro will run in Server
Answered: The trial version allows you to use DayPilot Pro for evaluation purposes for up to 60 days.
How to not allow schedule on weekends
Answered: It's possible to the non-business hours in the Schedule using ShowNonBusiness property (it hides hours outside of BusinessBeginsHour and BusinessEndsHour and weekends): https://doc.daypilot.org/sched...
Scheduler Event backcolor Revert back after loading
Answered: If you add events using .events.add() you don't need to call .update() to apply the change. The Scheduler will be updated automatically. Also, calling .update() in every iteration of the loop is very...
events empty
Answered: It looks like you are calling the .update() method too much. The update() is performed asynchronously a multiple simultaneous calls may disrupt the display. It's not necessary to call .update() befor...
limitations trial version?
Answered: You can use the browser console to check if there is any error in the input data. Just type:
dp.resources
to see the resources array. The trial version will display 71 rows without any problem. T...
External drag and drop to another grid is not working for Mobile devices
Dear colleagues, This is a rather important issue for our company. We've implemented drag and drop from one schedule grid to another. Everything works well, but not in IPad and other mobile devices. ...
resources dynamic data Asp.net
Answered: There is now a new tutorial available that shows how to load resources and events in JSON format from a server-side endpoint created using ASP.NET Core: https://code.daypilot.org/99410/javascript-htm...
HTML5 Doctor Appointment Scheduling (JavaScript/PHP) - Js Error on Demo
Answered: As far as I can see there is a problem with double-clicking the grid when timeRangeSelectedHandling is set to "Disabled" (the default value is "Enabled") and timeRangeSelectedDoubleClick is set to "E...
The calendar event handler does not work in window resizing.
Answered: It looks like Chrome doesn't fire window.onresize if you change the window size between "any state" <-> "minimized". However, it is fired if you switch between "normal" and "maximized" state. This is...
DEMO NOTE (ORANGE IN EVENT CALENDAR)
Answered: As noted in the tutorial text, the project download includes a trial version of DayPilot Pro that displays the DEMO label. It's licensed for evaluation purposes only. If you want to use the tutorial ...
How to remove the built-in delete icon from
Answered: You need to set EventDeleteHandling property of the config to "Disabled". Or remove it from the config - Disabled is the default value.
Resource Title Undefined in Scheduler
Answered: Worked out the issue, need to set the header to json reponse header('Content-Type: application/json');
Override Daypilot.min.js function
Answered: In case of the ASP.NET WebForms version the client-side library is embedded in the DLL and it's inserted into the page using internal ASP.NET mechanisms. As far as I can tell it's impossible to inser...
How to leave blank area in time header when group is collapsed
Answered: I made a wrapper for daypilot and override method _getScrollableWidth. if (innerHeight > height && !autoHeight && this.reserveSpaceForScrollBar === undefined) || this.reserveSpaceForScrollBar) { scro...