Questions Tagged bug
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.
Scheduler - Browser context menu is shown on event right click
Answered: Hi, thanks for your reply. I've tried with the last version and it seems ok!
Add days to calendar while onEventMoving or onEventResizing
Answered: Unfortunately, this scenario is not supported at the moment. Calling .update() redraws everything and the context is lost (including the drag and drop operation in progress).
AngularJS locale property not working
Answered: I've tested it and it seems to work (even with your code). Where exactly do you see English? In the demo (http://javascript.daypilot.org/demo/lite/), changing the locale affects the day headers and i...
args.cell.start.getDayOfWeek() goes from 1 to 6 (no 7 for Sunday)
Answered: It should return 0 for Sunday. Can you please give it a try with the latest sandbox build (1753)? This returns 0 as expected in the JavaScript console:
new DayPilot.Date("2015-06-21").getDayOfWeek(...
IE 9 rendering issue JavaScript scheduler
Answered: I have tried to reproduce the issue using the latest sandbox build (8.1.1753): http://javascript.daypilot.org/sandbox/ I have added the Bootstrap CSS to the main scheduler page:
<link rel="styleshe...
[BUG] args.allowed = false on onEventResizing is not working.
Answered: args.allowed in onEventResizing is supported since build 1710. You can download it in the sandbox: http://javascript.daypilot.org/sandbox/
Losing Context Menu when updating scheduler
Answered: Do you update it using an UpdatePanel? In that case make sure that the context menu is inside the same UpdatePanel as the Scheduler. Let me know if this is not the case.
Daypilot recurrence events error
0 down vote favorite I have used the recurrence feature used by daypilot calendar as following : protected void Calendar_BeforeEventRecurrence(DayPilot.Web.Ui.Events.Calendar.BeforeEventRecurrenceEve...
Browser hangs when paging to previous year
Answered: This is a bug of version 8.0.1622 (8.0 SP1). It's fixed now in the latest release (8.0.1658): http://javascript.daypilot.org/daypilot-pro-for-javascript-8-0-sp2/
Using Server side data binding with multiple resources
When there is more than a few hundred rows displayed, the vertical scroll is sluggish and the resource area will go white and then re-render after a second or two. Is there anything I can do to handl...
"Concurrent Event Groups" and "autoRefresh"
Answered: At this moment the group state is not persisted. This means it will reset to the original state on update(). You can customize the groups using onBeforeGroupRender:
dp.onBeforeGroupRender = functio...
BusinessBeginsHour BusinessEndsHour not set when switching between day, week, and month view
I'm following this tutorial: http://code.daypilot.org/33944/event-calendar-day-week-month-for-asp-net-mvc to create calendar in day, week or month view. I've set BusinessBeginsHour and BusinessEndsHo...
rows.filter() while onEventMoving()
Answered: Unfortunately it's not possible to use the filter in onEventMoving because the filter() method causes a refresh of the Scheduler (and it disrupts the current drag and drop operation). Also calling an...
Left click Bug
Hi to all, I just encountred a strange bug while playing with my scheduler ; I accidently cleft clicked on an empty cell of the scheduler and all the events were gone ! Why and how to fix it
Collapse feature and dynamic loading
Hi, I'm using the collapse feature for resources and dynamic loading for events, but when I collapse resources events does not load until I user the sroll how to fix this ?
Allow/Deny Drag and Drop per Event Deosn't work in version: 7.9.3373.0
Answered: 1. This issue is related to the default MoveBy value. For MoveBy="Full" (which is now the default value) disabling event moving in BeforeEventRender has no effect. This issue is fixed in the latest s...
Filter not working
I am having issues with implementing filters in MVC App. I am playing with the Tutorial ASP.NET MVC Hotel Room Booking http://code.daypilot.org/32389/asp-net-mvc-hotel-room-booking The filter doesn't...
Scheduler looses scroll position
Answered: It looks like gets reset right after the animation starts. It happens with plain div with "overflow:auto" as well: http://jsfiddle.net/JPEaa/344/ Probably the best solution would be to hook the minim...
TimeFormat recognizion doesn't seem to work perfectly in the calendar
Answered: The Swedish locale is defined like this:
DayPilot.Locale.register(new DayPilot.Locale('sv-se',
{
'dayNames':['söndag','måndag','tisdag','onsdag','torsdag','fredag','lördag'],'dayNamesShort':['...
Daypilot scheduler crashes when dragging and reloading
Hi! When an Event is in dragging-mode, and the auto-reload (with Event reloading) is firering, daypilot crashes
Event calendar: adjacent events falsely treated as overlapping
In the event calendar view, Daypilot Lite treats two events as overlapping if the end time of one of them is the same as the start day of the other. Therefore, neither of them takes the full width of...
IE11, Win8.1 - extrem slow reactions
Answered: Loading less Events should be a good Thing. Now i am getting back about 20 Events. And the CPU is "only" going up to 6% when reloading. And when Scrolling at this Moment the Scheduler hangs for a sho...
Sub menu is floating
The main menu is absolute (when you right click the schedule), and the sub menu is appearing where ever the cursor is making it very difficult to use. Could this be fixed ASAP please by putting it in...