Questions Tagged
how to make the "DEMO" in the corner disappear
Answered: The tutorial project uses a trial version which is limited to evaluation purposes. If you decide to use it you'll need to purchase a license. The full version comes without the DEMO label: https://ja...
Event calendar
Answered: Maybe just a typo, it should be "locale":
dp.locale = "fi-fi";
See also: https://api.daypilot.org/daypilot-calendar-locale/
Event handling method
Answered: You can define the event handlers directly on the DayPilot.Scheduler object (which is available as DayPilotComponent.control). Just note that DayPilotComponent.control is not available before AfterVi...
makeDraggable() remove
Hello, I need some help makeDraggable(). I want to drop an external item on a picture(trashcan) to remove the item and trigger a function. What is the bestpractice. function makeDraggable() { var par...
changing court name
Answered: At this moment the tutorial project doesn't include the user interface to change the court names. You'd have to add it or you can also modify the database directly. The sample SQLite database is gene...
how to show more information then just the name of the event
Answered: You can customize the event appearance (including the HTML content) using onBeforeEventRender event handler: https://doc.daypilot.org/scheduler/event-customization/ Another option is to display a cal...
Remove Shadow in Drag and Drop
Answered: Sorry for the delay! What exactly do you mean by the "shadow"? Is that the semi-transparent div that indicates the target position during drag and drop? You can modify the appearance using CSS (creat...
Is there any setting to do recurring schedule like we do in outlook
Answered: The JavaScript version of DayPilot (which includes the Angular plugin) doesn't include recurrence support. It's a client-side technology and the recurrence has to be implemented on the server side. H...
In a month calendar in Chrome, when clicking on an event the Move event is triggered and not the click event
Answered: Are you able to reproduce the problem in the online demo? https://aspnet.daypilot.org/demo/Month/ It seems to to work fine for me. It only activates event moving when I move the mouse at least a bit....
How to customize the create event dialog
Answered: Please take a look at the following tutorial: https://code.daypilot.org/29513/angular-2-scheduler-modal-dialog-for-event-editing It shows how to create a customized modal dialog for editing event det...
exportAs exports the html attribute instead of name.
Answered: Found the eventhandler... https://api.daypilot.org/daypilot-scheduler-onbeforerowheaderexport/ I would delete this post if I was able to :-) Thanks for making DayPilot great!
DayPilot.request broken after update
Answered: This happens because the "args" object has been extended with new properties (including a reference to DayPilot.Scheduler instance) and it can't be serialized using JSON.stringify() anymore. It's nec...
Print scheduler
Answered: Please note that HTML is not supported during image export: https://doc.daypilot.org/scheduler/client-side-export/ You can supply alternative text using onBeforeCellExport event (args.text): https://...
ShowNonBusiness="false" Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
I seem to have found a bug in the DayPilot ASP.NET control. I believe that I am having the same issue described here: https://forums.daypilot.org/Topic.aspx/2460/business-hours-7-days-a-week-weekends...
autoScroll = "Always" for horizontal scroll only
Answered: Unfortunately this scenario is not supported at the moment.
Modifying the header row highlight style when crosshairType="Header"
Answered: You can change the crosshair appearance using CSS. The default built-in theme ("scheduler_default") uses the following CSS:
.scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horiz...
DATETIMEPICKER?
Answered: DayPilot Pro includes a Navigator component that can be used as a full-size date picker: https://aspnet.daypilot.org/demo/Calendar/Navigator.aspx or as a popup: https://aspnet.daypilot.org/demo/Calen...
Create Event with popup-menu
How can I create an event by drag an area -> popup menu "Create Event" (like the one that pops up on right-click) -> Select = new event? Regards, Kim
Drag Drop not working in safari
Answered: Is that the Windows version of Safari from 2012? Unfortunately that version is no longer supported by Apple and we don't support it either.
TimeRangeDoubleClick not working
Answered: Time range double click is disabled by default. You need to enable it first using timeRangeDoubleClickHandling property: https://doc.daypilot.org/scheduler/time-range-double-click/ Let me know if it ...
How to show a page error from callback
Answered: You can pass custom data to Update() method on the server side. This data will be available in the client-side AfterRender event handler (AfterRenderJavaScript property): See also: https://doc.daypil...
Modal Dialogue - on exit, refresh an underlying page
Answered: You can reload the page by calling document.location.reload() in the onClosed event handler:
var modal = new DayPilot.Modal({
onClosed: function(args) {
// ...
document.location.reload...
Daypilot - change start day of the week
Answered: The first day of week is determined by the Calendar locale. The default locale is "en-us" which uses Sunday as the first day of week. You can switch to one of the predefined locales (https://api.dayp...
How to run the project sample
Answered: It looks like you'll need to enable SQLite PDO driver in php.ini config file (it's not enabled by default): Windows:
[PHP]
; ...
extension=php_pdo_sqlite.dll
; ...
Linux:
[PHP]
; ...
exten...
treeAutoExpand Option for GANTT
Answered: By default all nodes in the Gantt chart are expanded. You can override it for each node (task) by setting task.row.collapsed = true:
dp.tasks.list = [
{
id: 1
start: "2018-01-01T09:00:00",
...
Float value instead of time on x-axis
Answered: The X axis will always use datetime values internally but you can map your numeric/duration values to it (add it to the StartDate as minutes or hours). You can override the time header to display the...
Next and Previous Navigation Jump Double
Answered: Dan Letecky you are correct. It is being called twice because of the Handle and OnCommand both being used. I removed the OnCommand from the ASPX and all is well again. Thank you for the help.
Trouble
Answered: It looks like the following statement from jQuery throws the exception:
return+new Date
You should check if you don't override the default "Date" object in your code.
Event Calendar hide weekends
Answered: If you'd like to display a custom number of consecutive days you can use "Days" view as described here: https://doc.daypilot.org/calendar/days-view/ It's also possible to display any combination of d...
bespoke development
Answered: Thanks Dan. In all honesty, it would still be over my head! Obviously, I'd like to licence your code, but would anyone else be interested in helping me adapt it to our specific needs? Thanks