All Questions
cssClassPrefix overrides resource tree backColor
Answered: You can extend your onBeforeCellRender like this to apply the green background color:
dp.onBeforeCellRender = function(args) {
var row = dp.rows.find(args.cell.resource);
if (row.data.bac...
Highlight holidays
Answered: I figured it out...
dp.onBeforeCellRender = function(args) {
var cellDate = moment(args.cell.start.value).format("YYYY-MM-DD");
if (jQuery.inArray(cellDate, holidayArr) !== -1) {
...
Hyphens in event text
Answered: I'm not able to reproduce the problem - however, it looks like a CSS issue. If you enable text wrapping some browsers may wrap the text after the hyphen. If the event height only allows one line of t...
Disable left Click in Day Pilot Schedule
Answered: Unfortunately, this is not supported in the ASP.NET version of the Scheduler. In the JavaScript version, it's possible to customize the behavior using onGridMouseDown: https://api.daypilot.org/daypil...
Show Event Links on hover or select only?
Answered: Sorry for the delay... Unfortunately, the links can't be displayed on hover. You might be able to implement your own logic by only adding the selected links to the array (on event click, on active ar...
Make Event selected and Change color for selected item
Answered: Yes, please see the "Event Selecting" topics in the docs: https://doc.daypilot.org/scheduler/event-selecting/
Hide/Show Resource Section in Daypilot
Answered: Yes, please see the "rowHeaderHideIconEnabled" property which enables an icon that lets users hide/show the row headers: https://api.daypilot.org/daypilot-scheduler-rowheaderhideiconenabled/ It's als...
BOM at beginning of body
Answered: It looks like without the BOM the browser doesn't recognize the <doctype> section at the top of the HTML file and renders the document in quirks mode. There might be a problem with some non-ascii cha...
BubbleText Hover
Answered: It's not possible to display the bubble when the mouse cursor is still in move but you can configure the delay it waits (after the cursor stops moving) using showAfter property: https://api.daypilot....
Hotel type calendar grid
Answered: DayPilot requires to be run in a web application (it's a client-side JavaScript technology). It is possible to create a web application that uses Microsoft Access as storage but it's not recommended ...
Resources expanded by default??
Answered: If you set DynamicChildren = true the Scheduler assumes that the children are not available and need to be loaded from the server (https://doc.daypilot.org/scheduler/dynamic-resource-tree-loading/). ...
Constrain Event moves in Scheduler to within Parent Resource?
Answered: Oh, of course... after hours of searching docs, I find something mere seconds after asking. I'm assuming it will be handled in "Event Moving Customization" correct? https://doc.daypilot.org/scheduler...
Slow Load Times in IE11 DayPilot Pro for Javascript
Answered: Andrew, Something like this can happen if you have an extremely large timeline. Try checking your combination of "scale" and "days" values. I'd try to keep the timeline length (the number of cells in...
Kanban for AngularJS not working
Answered: Which version of DayPilot do you use? The latest version (2018.3.3417) seems to work fine so it might be a bug of one of the previous releases: https://javascript.daypilot.org/demo/kanban/angularjs.h...
change cellWidth on the fly
Answered: Unfortunately, the ASP.NET version doesn't support client-side changes. It's bound to the server-side backend and it's necessary to invoke a callback (e.g. using commandCallBack() method) to request ...
Can an Event option be used to adjust Business hours for a Scheduler resource?
Answered: Hi Tony, I'm happy to hear that DayPilot helps. Unfortunately the business hours are specified on the resource (row) level. At this moment, there is no way to set different business hours for differe...
DayPilot Responsive
Nice, easy to use package. I saw earlier question about making DayPilot responsive. I poked around in the code and found two lines where percentages are added as comments. I used the percentages inst...
CornerHtml Showing DEMO Even After licence Purchased
Answered: Please make sure that the DLL is reloaded properly. Sometimes it's necessary to remove the old DLL, run the project in Visual Studio (it will report a compilation error) and then add the new DLL. Let...
Css class removed after expanding resource group
Answered: The CSS class added using addClass() is now persisted to DayPilot.Scheduler.resources[].cssClass and it will survive update() calls. It's implemented in the latest sandbox build (2018.4.3445): https:...
Context menu on event creates an extra div
Answered: The purpose of the additional active area div is to keep the icon visible even when you move the mouse out of the event box. It was incorrectly activated for visibility: "Visible" as well. It's now f...
Showing tasks on group level
Answered: Hi Nikola, I see. It's possible to use parents as well. Some examples use "treePreventParentUsage: true" setting to disable the parent rows but the default it to enable drag and drop for all rows. Se...
Is it Possible to show time on horizontal axis and date om vertical axis in calendar control
Answered: Unfortunately, this is not possible with the Calendar control - but this kind of view is served well by the Scheduler control.
Drag and drop into Angular schedular
Hi there Is it possible to drag and drop an external object into the Angular scheduler? Do you perhaps have an example or demo of dragging and dropping from another component into the scheduler?
Modify end datetime in beforeEventRender
Answered: Unfortunately, it's not possible to change event start/end in onBeforeEventRender. You'd have to modify the data source before assigning it to dp.events.list. It might be more convenient to do it on ...
BeforeEventRender EventClickEnabled Not Working
So when form loads and calls beforeeventrender, I have it set for all pre-created events to have the e.eventclickenabled = false (by looking at e.id and make sure its all old ids versus new ids). Whi...
Is bolding of navigation calendar dates available in Lite version?
Answered: Unfortunately, loading free/busy Navigator data is not supported in the Lite version at the moment.
How to identify the new scheduler that the event was moved to?
Answered: You can identify it in onEventMove event handler - "this" object will point to the target Scheduler. This will work even if you reuse the same event handler function for all Scheduler instances.
dp...
Display Context Menu On Touch Device Tap
Hi there, I am trying to display the scheduler event context menu when the user taps on the event from a touch device. I want this behavior to happen only on touch devices (small screens) not on desk...
Angular 6 Gantt - Cannot read property 'internal' of undefined
Answered: You can fix this bug by installing the latest sandbox build:
npm install https://npm.daypilot.org/daypilot-pro-angular/trial/2018.3.3413.tar.gz --save
start date and end date
Answered: You can use "startDate" to change the visible date range: https://doc.daypilot.org/calendar/manual-date-switching/ The end date is calculated automatically, depending on the viewType value (https://d...