Active Questions
Set Scheduler width with javascript in View
Answered: You might want to check the "Auto Cell Width" feature which adjusts the cell width to fill the available space (there will be no horizontal scrollbar): https://doc.daypilot.org/scheduler/auto-cell-wi...
Display Loading Icon when Event Moving in DayPilotScheduler
In my ASP.NET MVC application, I am using a DayPilotScheduler. If anyone is trying to move the event, then it has to display a loading symbol. So what I have done is, In my HTML code, I have added, E...
VS 2010 version of hotel-room-booking-asp-net-c-vb-sql-server please...
Answered: Dave, If you open the TutorialHotel.sln file and change the following line (#2): # Visual Studio 2012 to # Visual Studio 2010 it should work.
How to Load only a Single DayPilotScheduler
Sir, In my ASP.NET MVC application, I have added a tab control with 2 tab items in a view. Both the tab items contains 2 different daypilotscheduler objects. The problem is, when I start my applicati...
Multiple row selection on touch devices
Answered: Sorry for the delay - a couple of changes were necessary so it took a bit longer. Instead of using the default behavior which is defined using .rowClickHandling="Select" you can also add your own eve...
Change Scheduler displayed Date format
Answered: The MVC Hotel Reservation tutorial at https://code.daypilot.org/32389/asp-net-mvc-hotel-room-booking uses the following code to format the start and end date: ReservationController.cs:
public A...
Horizontal resources
Answered: It's possible to display resources on the horizontal axis with the Calendar control switched to "Resources" mode: https://doc.daypilot.org/calendar/resources-view/ Demo: http://javascript.daypilot.or...
Recurring Events which occur like: on 2nd monday of the month...
Hi Dan and Team, I've seen in your forums, requests for supporting rules such as: "Recurring Events which occur on second Monday of the month".. http://forums.daypilot.org/search?q=events+x+monday ht...
Add beds
Answered: At this moment the number of beds is not editable using the sample code. However, it's stored in the database (rooms.capacity field) so it shouldn't be difficult to add an option to edit it.
Missing Typescript Definition scheme for DayPilot
Answered: Unfortunately it's not available at the moment but it's in the queue.
Including the scheduler daypilot into a directive with isolated scope
Answered: Since version 8.2 (http://javascript.daypilot.org/daypilot-pro-for-javascript-8-2/) the scheduler supports "publish-as" attribute which lets you specify the target for the DayPilot.Scheduler object. ...
TimeHeader customization hidden after scrolling
Answered: By default, the Scheduler displays a special overlay div over long time header cells during scrolling: http://doc.daypilot.org/scheduler/floating-time-headers/ It should copy the custom time header H...
Critical Path Management
Answered: This tutorial (http://code.daypilot.org/68118/gantt-chart-tutorial-asp-net-sql-server-c-vb-net) uses the Scheduler control in Gantt mode (ViewType="Gantt") which has limited capabilities. You might w...
MonthCalendar Event CSS
Answered: There is a property called EventTextAlignment which forces the alignment. It was used in the CssOnly="false" mode but it is being incorrectly applied in the CssOnly="true" mode as well. This issue is...
Customise Cell Duration Label
Answered: You can customize the time headers using OnBeforeTimeHeaderRender: http://doc.daypilot.org/scheduler/time-header-customization/ The sample code would look like this:
protected override void OnBefor...
Coloring cells to indicate "today"
Answered: In the Scheduler, you can use the following code:
dp.onBeforeCellRender = function(args) {
if (args.cell.start <= DayPilot.Date.today() && DayPilot.Date.today() < args.cell.end) {
args.ce...
DayPilotBubble not showing on Touch/Mobile devices (iOS/Android)
Answered: Peit, How do you activate the bubble? It should work fine for EventClickHandling="Bubble"? If the bubble used to open without EventClickHandling="Bubble" it might have been an unwanted side effect. A...
Daypilot trial expires at one day
Answered: There is no built-in expiration mechanism that would cripple displaying the data. It looks like there might be a problem/bug. I assume you are using the sample project from https://code.daypilot.org/...
Display Modal Box on Event Resize
How to display Modal Box when we resizing the event? When I applying Javascript to EventResizeHandling and calling a function OnEventResize, then its showing errors. And I want to show the updated va...