Active Questions
How do you delete an event?
Answered: The Lite edition doesn't support the built-in "delete" icon like the Pro version: https://doc.daypilot.org/calendar/event-deleting/ The best way would probably be to add a "Delete" button to the moda...
Show "event" only as changed background color
Answered: If you want to set a color of the grid cells you can use OnBeforeEventRender event handler: https://doc.daypilot.org/scheduler/cell-customization/ Generating a special type of event with a custom col...
External Drag and Drop Event
How to check if user drop event out of scheduler for cancel. Because I want to remove css class form resource. Thank you so much.
Change row color when event drag
Answered: You can highlight the original row using onEventMoving event handler. In the ASP.NET MVC you can set this event handler using EventMovingJavaScript property: https://doc.daypilot.org/scheduler/event-...
Pro License concerned
Answered: The "DEMO" label indicates that you are using the trial version of DayPilot Pro. If you want to use the Pro version you'll need to buy a license. The trial period is limited to 60 days.
add one more TextField
Answered: If you want to customize the event text using multiple fields of the data source you can use BeforeEventRender event handler: https://doc.daypilot.org/calendar/event-customization/
start hour in calendar display
Answered: You can using DayBeginsHour and DayEndsHour properties to control the start and end hour: https://doc.daypilot.org/calendar/overnight-scheduling/
DayPilot.Scheduler.onIncludeTimeCell doesn't render custom scale correctly
Answered: The onIncludeTimeCell event handler acts as a filter - it's applied after the timeline is generated. You can also generate the timeline manually using scale: "Manual" mode. This will give you better ...
Using multiple values in DataTextField
Answered: If you need to display data from multiple fields you can use BeforeEvenRender event handler to customize the event HTML: https://doc.daypilot.org/calendar/event-customization/
How to execute using MySQL instead of SQLite?
Answered: The default MySQL port is 3306 so keep that value (unless you have changed the port in your MySQL installation). As far as I can see there are no extra backticks in the SQL commands. Your _db.php sho...
DayPilot Scheduler is slow in IE (only in IE)
Hi, Hope you could help me. We are using Scheduler v8 (Pro) and got an issue that it's really slow in IE (10, 11, Edge). Everything is fine in Chrome and Firefox, though. I've tried to disable nearly...
Multiple grouping per row (Sheduler)
Hello, we would like to buy your pro edition, but we would need another feature for the Scheduler, Is there a way to group multiple events inside a group? I found the "Concurrent Event Groups" (https...
timeRangeSelectingStartEnd - end day minus 1
Dear All! When I select, let's say, Nov. 10.-15 these 5 days are highlighted. But the bubbles (or however you call it - I can format them via timeRangeSelectingStartEndFormat) shows on the right of m...
HTML5 Tennis Court Reservation for asp.net webforms
I am looking court booking and came across day-pilot Tennis court booking code sample https://code.daypilot.org/11478/html5-tennis-court-reservation-php-javascript Could you please tell me if you sam...
display calendar event as list View
Answered: I recommend using standard ASP.NET controls - such as a ListView (https://msdn.microsoft.com/en-us/library/bb398790.aspx). DayPilot doesn't include any control for displaying the calendar data in tab...
Display partials or some part of (current) document
Answered: It's possible to display custom HTML using .showHtml() method. You can get the inner HTML of a certain element using innerHTML:
var html = document.getElementById("someContentDiv").innerHTML;
new ...
close modal dialog
Answered: It's not possible to close the modal dialog from the server side. In the MVC samples, a slighly different approach is used - the form displayed in the modal dialog is not submitted in a traditional w...
How to limit appointment time only to 30 minutes?
Answered: 1. The default appointment slot duration is set in "backend_create.php" file using $slot_duration variable:
$slot_duration = 60;
You can change it as needed. 2. Yes, you should change sesion_id t...
Set timerange to 8 am until 3am the next day
Answered: Rik, I didn't check the actual logic of your sample but the result should be set using args.cell.visible property instead of the return statement. See also: https://api.daypilot.org/daypilot-schedule...
How to limit time range in DayPilotCalendarWeek
Answered: Hi, I would do the following: 1. First setup you're working hours:
dp.businessBeginsHour = 7;
dp.businessEndsHour = 18;
2. Then I'll handle the onEventMove as well as the onEventResize event: ht...