Questions Tagged
New Version Release For Paid Versions
Answered: Richard, You can download it in the customer area: https://www.daypilot.org/customers/
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.
Updating Navigator's SelectMode from codebehind
Answered: At this moment the SelectMode has to be changed on the client side:
nav.selectMode = "month";
nav.update();
Another option is to place the DayPilotNavigator control inside an UpdatePanel.
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...
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...
Asp Net MVC5
Answered: It's a propery of the Task class. You can set the value like this:
Tasks = new TaskCollection();
Task task = new Task("Task 1", "1", DateTime.Today, DateTime.Today.AddDays(5));
task.Complete = ...
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/
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-...
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...
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 ...
DayPilot Pro for ASP.NET Core
Answered: DayPilot Pro for ASP.NET Core is in the works, please stay tuned!
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.
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...
MVC Popup Window - Stop closing when clicking out of window
Answered: With the latest version of DayPilot.Modal (2.6) you can use the following code:
modal.onClose = function(args) {
if (args.backgroundClick) {
args.preventDefault();
}
};
See also: http...
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...
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...
DayPilot.Scheduler.makeDraggable Not supported in Angular2?
Answered: and here it is:
import { Directive, ElementRef, Input, AfterViewInit } from '@angular/core';
import { DayPilot } from 'daypilot-pro-angular';
@Directive({ selector: '[makeDraggable]' })
expo...
How to load properly load resources and events on Scheduler
Answered: After a day of work I managed to do it but still don't know if I am doing it correctly but it works. I created the scheduler object and when I got to resources I did an Ajax quest just for it and the...
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...
DayPilot Calender not synchronization with different timezones.
in my application using Day Pilot calendar for client bookings and maintaining provide dairy appointments, when appointment created saving selected data and time from Day pilot calendar, when loading...
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...
Clear all the events from the calendar with javascript
Answered: Hi Philippe, The events are stored in .events.list array - so you can do something like this:
dpc1.events.list = [];
dpc1.update();
See also: https://api.daypilot.org/daypilot-calendar-events-li...
HeightSpec="Full" - TypeError: $h is undefined
Hi, I work on a project which use the calendar. It works well with HeightSpec="BusinessHoursNoScroll" property. But when it doesn't works with HeightSpec="Full" and I have a javascript error : ______...
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...
Calendar events not updating
Answered: 1. If you have a complete data set that you want to display (i.e. you don't plan to apply any "diff" to the event set) the recommended way is to assign the array directly to .events.list:
vm.calend...
Remove "DEMO" tag on table
Answered: The DEMO label indicates that you are using a trial version of DayPilot Pro (which is bundled with the tutorial). In order to remove it you need to purchase a full license at http://www.daypilot.org/...