Questions Tagged
How to run PHP code without affecting performance
Answered: If you don't need to result to continue you can simply open the dialog right away. Don't open the dialog from the response callback. Instead of this:
this.http.get("/api").subscribe(result => {
...
Events Not Showing in Calendar
I am loading both the Resources and the Events from SQL Server and already had this working in the Scheduler control. When binding in the Page_Load for the Calendar control, I have verified that data...
Undefined, Events Do not load on Mobile IOS Android
I've tried the example code at https://code.daypilot.org/84763/html5-scheduler-for-touch-devices-ipad-android-php-javascript It works perfectly on desktop, however on IOS and Android (regardless of m...
How to remove orange rectangle with text "DEMO" from month view of daypilot?
Answered: It looks like you have used DayPilot Pro (the paid version) in your project. 1. You can use DayPilot Lite (open-source) instead - but it doesn't include all Pro features: https://javascript.daypilot....
How to set Cells/Columns in View vs. Scroll
Answered: By default the Scheduler width is set to 100% - that means it will change for different browser window widths. The auto cell width mode (https://doc.daypilot.org/scheduler/auto-cell-width/) calculate...
Controls in resource columns
Answered: Unfortunately not directly. You might be able to generate HTML for your ASP.NET controls using RenderControl() and insert the result into the column cells using BeforeResHeaderRender: https://harouny...
General questions
Answered: 1. No, this project includes a trial version of DayPilot Pro and is limited to testing and evaluation purposes, for 60 days. You need a DayPilot Pro for JavaScript license to use it in production (ht...
Scheduler hangs when drag/drop event from one scheduler instance to the next with autoScroll set to Drag
Answered: Thanks for the update! It turned out that there was a bug in onScroll() call. It's fixed now in the latest build (2018.1.3185) - please let me know if the problem persists. The development builds are...
Month view for Daypilot calendar control in Angular4
Answered: There is a special component available for the monthly calendar. See the docs: https://doc.daypilot.org/month/angular/ A quick start Angular 4 monthly calendar project: https://code.daypilot.org/5778...
can i change my asp.net pages to mobile friendly
Answered: The Scheduler supports touch devices. Please see the following docs page: https://doc.daypilot.org/scheduler/touch-devices/ In the default configuration, it supports event creating, event moving (tap...
Non-passive event listener
Answered: Please see the following docs topic for Scheduler scrolling performance tuning options: https://doc.daypilot.org/scheduler/scrolling-performance/ It's necessary to keep the total DOM size as small as...
Getting error while building angular app after installing daypilot package
Answered: DayPilot 2018.1.3169 is fully compatible with Angular 5. I've just tried to create a new Angular 5 project (@angular/core version 5.2.5) using Angular CLI 1.5 and Angular 1.7 - both seem to work fine...
Daypilot C# Get Selected Day
Hi, I am building a master rota using Daypilot. I only care about Monday -Sunday. I don't care about DATES, just DAYS. E.G a shift created on a Monday between 2-4 will be there every Monday between 2...
Scheduler right click context menu for multiple event selections
Answered: You can get a list of selected events using DayPilot.Scheduler.multiselect.events() method: https://api.daypilot.org/daypilot-scheduler-multiselect-events/ You can call this method in the onClick eve...
Change/Offset the visible date while selecting dates in scheduler
Answered: Please take a look at eventEndSpec property: https://doc.daypilot.org/scheduler/event-end-date-time/ You can also customize the tooltip HTML directly using onTimeRangeSelecting event handler (args.ri...
setScrollY in event scheduler jquery
Answered: The initial scrollbar position is set to the hour of day defined using businessBeginsHour. You can also set a custom position using scrollToHour() method: https://api.daypilot.org/daypilot-calendar-s...
onEventResized and onEventMoved
Answered: If you want the event to be moved automatically you need to use "Update" value for the *Handling properties:
config: any = {
eventMoveHandling: "Update",
eventResizeHandling: "Update"
}
If...
Scheduler Resource Tree flat hierarchy
Hi, Is there a way for Scheduler to accept a Resource Tree in the form of a flat tree hierarchy instead of a nested hierarchy? Like this: [ { resourceID: 1, parentID: undefined }, { resourceID: 2, pa...
Event Creation
Answered: The latest version of DayPilot Lite exposes "start" and "end" variables (DayPilot.Date object). The string replacements ("{0}") are no longer applicable. You can use the following TimeRangeSelectedJa...
Calendar - area definition by Start() & End()
Answered: Petr, It's in the plan for the next release (coming in 14 days), please stay tuned!
How to disable daypilot popup
Answered: The modal popup is displayed by the default AJAX error handler (*AjaxErrorJavaScript* property):
AjaxErrorJavaScript="if (DayPilot.Modal) { new DayPilot.Modal().showHtml(args.request.responseText);...
Double events show
Answered: Can you try upgrading to the latest DayPilot Pro version? Try running the following command in the console:
npm install https://npm.daypilot.org/daypilot-pro-angular/trial/2018.1.3156.tar.gz --save...
How can i extract data from application
Answered: The Tennis court tutorial (https://code.daypilot.org/11478/html5-tennis-court-reservation-php-javascript) stores the data in a SQLite database that is created automatically when you start the applica...
Schedular selected event backcolor
Answered: The Scheduler will apply "scheduler_default_selected" CSS class to the selected event (for the default theme). The default CSS looks like this:
.scheduler_default_selected .scheduler_default_event_...
Vertical movement of event does show event during moving on timesheet
I have an angular5-app, based on your demos, and switched to the viewtype="Days". Event-Moving is working, however, during the move the event is not shown. Here my config: config: any = { locale: "de...
Angular 4+, onRectangleEventSelect
Hi Is it possible to have onRectangleEventSelect + multiSelectRectangle: 'Row' and do selections on events instead of selections snapping to cellDuration, I noticed that when using "Free" selections ...
How to use showAfter bubble property
Hi, I'm using daypilot for web forms. How can I use showAfter property in DayPilot.Bubble. I set 2000 (ms) to test but when I hover on cell, its does not wait 2 seconds. I need configure something mo...