Questions Tagged
Scheduler for MVC 5 demo
Answered: The download package includes binaries for MVC3, MVC4 and MVC5. The demo that is included is configured to run with MVC4. You can switch the demo to work with MVC5 (updating the references and web.co...
How should the DPS be configured to display events up to 15 minutes in a cell?
Answered: I assume you want to prevent the Scheduler from aligning the events with the grid cells - in that case take a look at UseEventBoxes property: https://doc.daypilot.org/scheduler/exact-event-duration/ ...
TimeRange moving down and down
Answered: Ah you're right, have no idea who changed it, but on 100% it is fine, sorry for problem.
EventMoveJavaScript
Answered: EventMoveJavaScript supports the following variables: e (DayPilot.Event object) newStart (DayPilot.Date object) newEnd (DayPilot.Date object) ctrl (boolean) shift (boolean) The Scheduler and Calendar...
Day/Week Event Calendar All Day Events with Exchange Web Services
Answered: You can use IsAllDayEvent property:
DataAllDayField = "IsAllDayEvent"
See also: https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.appointmentschema.isalldayevent(v=exch...
angular2-scheduler-spring-frontend npm start
Answered: Unfortunately I can't see the attachment. However, you may need to install Angular CLI globally first:
npm install -g angular-cli
The tutorial is built using Angular CLI version 1.0.0-beta.19-3. ...
Restrict resizing or moving event which goes to previous day
Answered: Update: "dp" is the DayPilot.Scheduler object. This is a complete Scheduler component example:
import {Component, ViewChild} from '@angular/core';
import {DayPilot} from "daypilot-pro-angular";
...
Scheduler navigation with JQuery Datepicker.
Hi, I have some issue with navigation with JQuery Datepicker. I have already test on local computer it's OK (has 7 days). But when I publish the project to azure the scheduler has 8 day. Not sure thi...
Call function in blade view laravel
Hello, there i using this js with laravel, how to call the function (e.g. loadResource-load event) in blade view? and how to call data from database? Thanks
reloading events on scheduler from server after initialization
I'm using a demo version of the scheduler pro for angularjs and am pulling in angulerjs v 1.3.8. I'm having difficulty re-loading the scheduler with events after the control has been initialized. Eve...
Displaying total hours when adding or editing shifts in daypilot scheduler control
Answered: The following tutorial (for AngularJS 1.x) shows how to display total time occupied by events in each row: https://code.daypilot.org/54503/angularjs-timesheet-tutorial-javascript-php You can use the ...
'CalendarController.Dpm.OnInit(InitArgs)': no suitable method found to override
Answered: It looks like you are missing the following import:
using DayPilot.Web.Mvc.Events.Month;
You can also add the full namespace to the header:
protected override void OnInit(DayPilot.Web.Mvc.Event...
How to block (and show) a complete day
Answered: If I understand it correctly you are asking for something slightly different than the original question: https://forums.daypilot.org/Topic.aspx/2944/how-to-block-and-show-a-complete-day Konrad would ...
How to swap the calendar btween days left and right
Answered: Unfortunately, using the swipe gesture to change the calendar view is not supported at the moment.
DataItem not available if ResourceCollection is filled manually
Answered: This change is now implemented in the latest DayPilot Pro for ASP.NET MVC build (8.3.5851). You can download it in the sandbox: http://mvc.daypilot.org/sandbox/ Any object passed using Resource.DataI...
Schedule doesn't update when use navigation
Answered: Sorry I'm got it. must be change the "Scale = TimeScale.Manual" to "Scale = TimeScale.Day"
How to get Date from Navigator using JavaScript and copy to textbox
Answered: 1. You can get the current selection using the following properties: * nav.selectionDay - the exact day that was clicked * nav.selectionStart - start of the selection * nav.selectionEnd - end of the ...
Scheduler Half-Hour Border Color
Answered: The easiest way would probably be to insert custom separators at the specified time points: https://doc.daypilot.org/scheduler/separators/
Combining events with the same name
Due to the recordset I am dealing with, I always have records with the same event next to each other. I can't explain it very well, but I do have an image of what I have and what I am trying to achie...
Get current cell in Context Menu
Answered: There is an internal JavaScript API that you can use (assuming ClientObjectName="dp"): Current mouse cursor position as date/time (DayPilot.Date object):
var date = dp.getDate(dp.coords.x, true);
...
Event Text Color on Export
Answered: On the client side, you should be able to change the font color using args.fontColor:
dp.onBeforeEventRender = function(args) {
args.fontColor = "red";
};
See also: https://api.daypilot.org/d...
When setting timezone to australia/sydney event in day calendar shows 30 mins late
i use moment js to arrange time my calendar config: $scope.calendarConfig = { startDate: moment().utcOffset(11).format('YYYY-MM-DD') } in my database there is different field for time and date so i u...
Custom weekend days
Answered: The onBeforeCellRender applies the properties (business/non-business) to grid cells. The business status can be set for each cell separately and it's possible that cells in the same column will not h...
JavaScript Source from Pro Purchase
Answered: The JavaScript files in in the ASP.NET WebForms are not licensed for standalone usage - they can only be used within the DLL as embedded resources. If you prefer using the JavaScript version you can ...
how to use suport
Answered: You can ask your question here in the forum: https://forums.daypilot.org/question/new Or you can contact support directly: support@daypilot.org.
Android tap on event triggering time range selected in month Daypilot.Month view
IOS works fine however taping on an existing event in the Daypilot Month view using an android devices is also causing the onTimeRangeSelected to be fired shortly afterwards.
box.html in Gantt Task not displayed of a GroupTask
Setting the box.html is not displayed. See following in documentation box.html (if not specified, complete percentage is used for tasks, empty string for groups and milestone) Setting box.htmlLeft ha...
Error with attribut "cellgroupby" And "scale"
Answered: It looks like you are using the Lite (open-source) version that doesn't support these features. See also the "Availability" table at the bottom of the documentation pages: https://doc.daypilot.org/sc...
Somebody please prevent this error
Answered: 1. If you want to use this event handler to customize the Navigator cells you need to add the method to the code behind:
protected void DayPilotNavigator1_OnBeforeCellRender(object sender, Befo...
Enable saturday and sunday on ShowNonBusiness=false
Answered: The latest build (8.3.3548) introduces BusinessWeekends property which you can use to set the behavior (the default value is false):
<DayPilot:DayPilotScheduler
...
BusinessWeekends="true"
...