Questions Tagged bug
0x800a1391 - JavaScript runtime error: 'DayPilot' is undefined
Answered: The tutorial text was missing the client-side script reference:
<script src="@Url.Content("~/Scripts/DayPilot/daypilot-all.min.js")" type="text/javascript"></script>
In the sample project (http:/...
Gantt: Property task.DataItem null after RowSelect
Answered: The DataItem works only when you call .DataBind() on the Gantt control during a request. This reloads the tasks from the data source and saves the source object as e.DataItem. If you don't call DataB...
New row is creating automatically
If I am creating a new appointment, then the day daypilot scheduler is creating a new row automatically as shown in the attached image. But it is not occuring in every time. Is it a bug? How to fix i...
Scheduler never returns from Callback when after third event is selected.
Answered: This usually means there is a JavaScript error that prevents the callback from completing. 1. You should be able to the details of the error it in the JavaScript console. 2. Sometimes, the client-sid...
Sheduler + Jquery Tabs scaling problem
Answered: The latest DayPilot Pro for ASP.NET MVC version (8.1) includes an auto-detection mechanism that waits until the Scheduler becomes visible and fixes the layout. It looks like you might be using an old...
DayPilotCalendar not rendering hours correctly in HeightSpec=BusinessHoursNoScroll if toggled hidden/visible
Answered: The browsers don't allow setting the scrollbar position on elements that are hidden. The workaround is to call dp.enableScrolling() on the client side after the control becomes visible (where "dp" is...
dp.locale = "es-es" not working
Answered: This bug should be fixed now in the latest build (8.1.1973). You can download it in the sandbox: http://javascript.daypilot.org/sandbox/
headerlevel
Answered: Sorry for the delay! This turned out to be a bug of the .update() method. It should be fixed now in the latest sandbox build (8.1.1981): http://javascript.daypilot.org/sandbox/ Let me know if there i...
187-lite
I am using the JavaScript version of the Calendar (187-lite). dp.viewType = "week"; dp.eventDeleteHandling = "Update"; dp.dayBeginsHour = 7; dp.businessBeginsHour = 7; dp.businessEndsHour = 22; dp.da...
Bubbles with dates on scheduler have static locale.
Answered: This is a bug, indeed - it should be fixed now in the latest sandbox build (8.1.1931): http://javascript.daypilot.org/sandbox/ These indicators are disabled by default - you can enable them using .ti...
Click events not firing in chrome
Answered: I have tried this on a few other computer and the issue seems to be isolated to one specific computer. The issue appears to be machine specific and not a problem with the scripts. JD
DayPilot - Scheduler Javascript
I am trying applying fore and back color for the message bar of scheduler based on success and error scenarios by using the method, but it not overriding the css we have for message bar. Please fix t...
Last column Header Lower
I have a possible bug/issue with DayPilot 8.1 where the text in the last cell of the header barely appears. I have been tweaking and adjusting the config in angular directive + $scope.config to get i...
Resource Header Width
Answered: Hi. Yes, You were right! With the new version everything works fine. Now, do I have to buy a new license?
Problem clearing events in Angular
Answered: A few notes: 1. When performing the operations on the events you can either modify the model or use the direct methods. The difference is that the direct methods call $apply to notify Angular about t...
Cell background set in BeforeCellRender but not show for whole scheduler
Answered: Are you using the latest DayPilot version? Something like this can happen: 1) if the Scheduler height is detected incorrectly (this may happen if the parent element is hidden during the Scheduler ini...
Day Pilot Navigator cannot move to next month when scheduler in next month
Answered: I confirm the bug. It should be fixed now in the latest sandbox build (8.1.3461): http://www.daypilot.org/sandbox/ Let me know if there is any problem.
Delete icon in Monthly Calendar
Answered: I can see the delete icon on this demo page (IE, FF, Chrome, Edge): http://javascript.daypilot.org/demo/month/eventdeleting.html Do see the problem in the demo as well? A few things to check: 1. The ...
Day pilot scroll displaying always
Answered: Unfortunately I'm not able to reproduce the issue. If I add .cellWidthSpec = "Auto" to the following demo the horizontal scrollbar disappears: http://javascript.daypilot.org/sandbox/scheduler/height1...
End date is adding one day
Answered: By default, the Scheduler works with exact points in time. E.g. a one day event starting on 2015-10-01T00:00:00 ends on 2015-10-02T00:00:00 (duration of 24 hours). However, you can adjust how the Sch...
Undo Moving event and Undo Resizing event
Answered: Use .onEventMove event handler instead and call args.preventDefault() to prevent the default action and onEventMoved event from being processed:
dp.onEventMove = function(args) {
if (!confirm('A...
Switcher bug
Answered: Thanks, it should be fixed now in the latest sandbox build (8.1.1842): http://javascript.daypilot.org/sandbox/
Daypilot height 100%
Answered: If you want to set the height to 100% of the parent element, you should use this:
dp.heightSpec = "Parent100Pct";
Please note that this requires the parent element height to be set explicitly - s...
json date not converting to daypilot date format
I am rendering all daypilot events by ajax from server(the result is JSON) when i am trying to push it shows invalid time zone. For this i need to iterate all events convert to Daypilot date ,is ther...
Leap Year Issue
Answered: When changing the StartDate and Days properties you can use DayPilot.Web.Mvc.Utils.Year.Days() method to get the number of days for the given year. Example for switching to the following year:
Star...
Scheduler - auto width cells
Answered: This issue should be fixed now in the latest release (8.1.1821): http://javascript.daypilot.org/daypilot-pro-for-javascript-8-1-sp2/ Let me know if the problem persists.
Select time range will not be highlighted if only click the cell in Month Calendar
Hi, Seems in month calendar, if only click a cell (not drag before mouse up), it will be triggered from onTimeRangeSelected, but the UI is not highlighted. However, if drag over the cell a bit, the c...
Update headerHtml in onBeforeCellRender
I use angularjs and monthly calendar. I try to update the headerHtml in beforeCellRender event. onBeforeCellRender: function(args) { if (args.cell.start.getDay() === 1) { // first day of month args.c...
Modal dialog does not pop up when gantt is placed inside ajax update panel
I placed a gantt diagram inside an ajax update panel component from MS Visual Studio. An entry in context menu of a task should start a modal dialog. Action of this menu item is set to postback. But ...
$scope.scheduler is undefined
Answered: Then you should be able to start with this code and extend it step-by-step until you have all you need or until it stops working. If it stops working please check the last thing you added.