Questions Tagged
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...
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...
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...
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...
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...
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...
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...
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...
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...
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/...
Resources Slow to Load
Answered: Dan, Have you checked how long the SQL resource loading code takes on the server side? Loading 60 resources should be no problem. You take a look at the following demo for reference: http://www.daypi...
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...
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. ...
Missing Typescript Definition scheme for DayPilot
Answered: Unfortunately it's not available at the moment but it's in the queue.
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.
Display Tooltip
Answered: This solutions works w/ the API. this._drawEvent = function(e) { ... var inner = document.createElement("div"); inner.setAttribute("unselectable", "on"); inner.className = calendar._prefixCssClass("_...
Context Menu Not Being Displayed
Answered: I've tried to reproduce the problem using the following testing Web Form but it seems to work fine: CalendarContextMenu.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CalendarContextM...
Scale is always reset to the original Value
Answered: It was a bug, indeed. It should be fixed now in the latest sandbox build (8.2.5833): http://mvc.daypilot.org/sandbox/ Let me know if the problem persists. And thanks for reporting the issue!
Removing event not included in MVC angular demo
Answered: With Angular, you can delete an event by removing it from the underlying event array (events/daypilot-events attribute). The calendar will be updated automatically.
How to Remove some circle in attached image Which comes when mouseover on Appointment
Answered: The circle is the actual bubble object. It looks like you are using a custom bubble HTML that is defined as an absolutely-positioned element. This makes it pop out of the bubble and the bubble is una...
Change Date Format
Answered: DayPilotScheduler1.VisibleStart is a DateTime object so you can get a custom formatted string from it using ToString():
DayPilotScheduler1.VisibleStart.ToString("yyyy-MM-dd");
See also here: http...
display current position details in Calendar (real time)
Answered: Unfortunately this is not supported in the Calendar control at the moment.
Bubble issue on daypilotcalendar
Answered: Do you have the problem with tried the latest DayPilot version? (There is no version 15.2 and v5.2 is very old.)
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.
Limit resources
Answered: DayPilot Scheduler doesn't limit the number of resources. However, there are different heigh settings that will affect how many resources/rows are visible without scrolling. Please take a look at the...
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...
Booking for multiple tables
Answered: This scenario is not covered by the tutorial. However, you can select multiple time ranges at once using "time range multi-selecting" feature: http://doc.daypilot.org/scheduler/time-range-multi-selec...
DayPilot month start date time
Answered: You can display the start and end time using the following properties:
<DayPilot:DayPilotMonth
EventStartTime="true"
EventEndTime="true
...
/>
Another option is to add the time at a specified...
Licence for both ASP.NET MVC & ASP.NET Web forms
Hi Can you clarify the DayPilot scheduler costs and functionality please? As an organisation we are looking at both: • DayPilot for ASP.NET MVC version • DayPilot for ASP.NET Web forms version Can yo...