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...
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('Are yo...
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 - see a...
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...
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: StartD...
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.
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...
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...
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 ...
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.
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).
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...
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();...
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="stylesheet...
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.
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...
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/
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...
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 = function(...
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...
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...
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
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 ?
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...
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...
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...