Questions Tagged how-to
Disapper Non business working hour cells
Answered: Please see this documentation page: http://doc.daypilot.org/scheduler/hiding-non-business-hours/
Uncaught TypeError: DayPilotMonth.Month is not a constructor
Answered: What version of DayPilot do you use? It looks like you have a very old version of DayPilot.Mvc.dll (something like 1.1) and use it with a newer client-side library (daypilot-all.min.js). You always n...
How to disable rowheadercolumn resizing?
It's possible to resize the width of a rowheadercolumn in scheduler by simply moving the columnheader splitter left or right. How can I disable this? I tried the following things without success: row...
Is there a way to drop external element on an event?
Hi Dan, I have some elements I made draggable with the function DayPilot.Scheduler.makeDraggable(item). Can I get the target event Id when I drag&drop over it the draggable item? Thank you.
Remove Demo Title From the Tool
Answered: The tutorial includes a trial version of DayPilot Pro for ASP.NET WebForms. The trial version is not licensed for production use and displays a DEMO label. If you want to use the code in production a...
ViewType
Answered: The timesheet view (ViewType="Days") is only supported in DayPilot Pro. It looks like you might be using the Lite version. See also: http://doc.daypilot.org/scheduler/timesheet/
Events Not Loading: Customized Work Week View
Hi, When we use Viewtype="resource" customized work week grid is displayed but events are not binding. If I remove Viewtype="resource", single day displayed and event also displayed.
Monthly report
Hello How to design the monthly view of the event in the report form, based on the events entered using the calendar?
integrating the daypilot calendar with may controller/view
Answered: In the Pro version, there is a ClientState property that will hold and persists such data (such as filter parameters) and pass them to the server side with every callback: http://doc.daypilot.org/cal...
Can i have this on Delphi - Pascal?
Answered: Unfortunately this only works on .NET. I'm not sure if there is any EWS library for Delphi available. The Microsoft EWS library is a wrapper around the Exchange Web Services API (SOAP) which can be a...
Scheduler styling: small vertical open space between rightmost column and right border
The right side of the scheduler looks like this: http://imgur.com/D7Ngfvy Is it possible to just hide the outer border, or is there another solution to this? I'm using angular daypilot and I created ...
Event Calendar: Select time range that span over two days
Hi Dan, In the event calendar, it appears you can only select a time range that starts and ends on the same day (e.g. 12:00AM to 12:00AM). However, I'm trying to select a range that spans more than o...
Events not Displayed in custom timeline
Answered: Please see the following page with debugging instructions: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ In the MVC version, the events are loaded using a special callback whi...
How to change weekly calender
Answered: You can change the visible week using startDate property:
<select id="week">
<option value="2016-04-04">Week 14</option>
<option value="2016-04-11">Week 15</option>
</select>
<div id="dp"...
How to disable close modal window on background clicked
Answered: It's in .update() method and it looks like this:
window.setTimeout(function() {
This.hideDiv.onclick = function() { This.hide(); };
}, 500);
In v2.2 it's line 190.
Directive not working
Answered: If you don't see anything in the JavaScript console I recommend starting with the following minimum code:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Angular...
AngularJS how to set businessBeginsHour, businessEndsHour and calendar height
Answered: It's supposed to work like this:
<div ng-app="main" ng-controller="CalendarController" >
<daypilot-calendar id="calendar" daypilot-config="calendarConfig" daypilot-events="events...
Disable eventoverlap on on client side in calendar?
Answered: Unfortunately it's not implemented in the Calendar at the moment. It will be added in one of the future releases.
Hide/Show Navigator in AngularJS(Datepicker style)?
Answered: You can access the DayPilot.Navigator object using $scope.navigator (because id="navigator"). The config only holds the configuration data (it has no methods). Try this instead:
// show
$scope.nav...
how to edit create events with recources ?
how to edit create events with recources ? can you give us examples with recouces
Start displaying Monthly calendar by the date of the current day
Answered: nevermind, Looks like it's a pro feature...
daypilot.sqlite file
Answered: You can use one of the SQLite manager applications, e.g. http://sqlitestudio.pl/
Gantt control, moving tasks
Say I have 5 tasks, and each task is linked to the one before it, if i move the first task is it possible to have all the other tasks move the same number of days? so say task one is from 01/01/2016 ...
How to pass date from partial view to controller in MVC4?
Hi I want to pass the data from partial view to controller My Partial view Code @Html.Label("Area" , new { @class = "control-label" }) @Html.TextBoxFor(model => model.Area, new { @class = "form-contr...
attributes like name and project codes
Hello, is there a mechanism to capture other attritbutes from user, Errors in does not work with the version on your site in VS 2015 .NET 4.6 thanks
Switching X and Y axis
Answered: Yes, this is possible using the Calendar control: http://doc.daypilot.org/calendar/resources-view/ However, the vertical time axis in the Calendar is limited to 24 hours.
Scheduler -> Dynamic Cell Width with a minimum
Answered: There was a bug in the latest release that prevented CellWidthMin from working. It should be fixed now in the latest sandbox build (8.1.3509): http://www.daypilot.org/sandbox/
Should it be just a matter of replacing the DayPilot.dll to upgrade from the Lite version?
Answered: No additional changes should be required. You can give it a try by replacing the Lite version DayPilot.dll with the trial version from http://www.daypilot.org/try/
Load Resources and Events On Vertical Scroll
Answered: At this moment, the Scheduler doesn't support loading additional resources during scrolling. All resources need to be loaded in advance using .resources array. However: 1. The row headers are rendere...