Answered: All properties of the DayPilot JavaScript objects use lower camel case (just like JavaScript generally). Try this instead: $scope.dpc.businessBeginsHour = 8; $scope.dpc.businessEndsHour = 18; $scope....
Hi all, I'm using the Daypilot Calendar in ored to manage a SPA appointmens. On the columns I have the treatment rooms and on the rows the timeframe. I'm wondering if it's possible to add a cell prop...
Hi, Not sure it's as design, few times i see combination of Gray and white area in scheduler table. Could you please let me know what causing the issue. Please find attached screenshot. Thanks
Answered: dp.message() should work anytime and it doesn't depend on any other variable: https://api.daypilot.org/daypilot-scheduler-message/ You can also use dp.message.hide() to hide the current message. Ther...
Answered: Yes, you can specify custom height using .height property: https://api.daypilot.org/daypilot-event-data/ It will overrride the global height set using .eventHeight property. You can also specify cust...
Answered: Since build 2259, you can use DayPilot.Row.collapse() and DayPilot.Row.expand(): https://api.daypilot.org/daypilot-row-collapse/ https://api.daypilot.org/daypilot-row-expand/ In previous builds, you ...
Answered: You can scroll the grid using a "swipe" touch gesture. On touch devices, the time range selecting mode requires a "tap-and-hold" gesture to become activated. Before the selection is activated you can...
Hello guys, I was playing around with the scheduler and realized that if I use the scheduler to show only the hour, timeHeaders: [ { groupBy: "Month", format: "MMMM yyyy"}, { groupBy: "Day" }, { grou...
I have set rowHeaderColumns (three columns with Name & width) & resources properties. The rowHeaderWidth is set to 200 & rowHeaderScrolling is set to true. The row headers & resources are appearing q...
Hi, I'm using version 8.2 for understanding scheduler hour view. Currently we are java script package modules(jspm) for loading front end modules. In the documentation i don't see any information rel...
Answered: You can scroll to the specified date using .scrollTo() method: https://api.daypilot.org/daypilot-scheduler-scrollto/ Demo: http://javascript.daypilot.org/demo/scheduler/scrolling.html Let me know if ...
Hi, when i switch page, the onEventClicked don't work. I have to reload the page to make it work again. Is it a bug ? There is my code : $scope.schedulerConfig = { scale: "Day", days: 365, startDate:...
Answered: The first Angular 2 version of the Scheduler is now available: https://code.daypilot.org/67423/angular-2-scheduler-tutorial-typescript It's in an early stage. However, the following is working: DayPi...
Answered: You are exporting the data in CSV ( https://en.wikipedia.org/wiki/Comma-separated_values ) format which doesn't support any formatting. Basically, there are two options: 1. You'll need to use a third...
Answered: You can use DayPilot.DateUtil.daysDiff() helper method: DayPilot.DateUtil.daysDiff("2016-06-09", "2016-06-10"); The arguments can be passed as strings (they will be parsed using DayPilot.Date constru...
Answered: The following config disables selecting a time range using right mouse button: dp.timeRangeRightClickHandling = "Disabled"; dp.onGridMouseDown = function(args) { var button = DayPilot.Util.mouseButto...
Answered: If you store the resource status in dp.resource[].tags object you will be able to access it like this: dp.resources = [ { name: "Resource 1", id: 1, tags : {disabled: true } } ]; // ... dp.onTimeRang...
Answered: You need to change "dp.events" to "dp.events.list": dp.events.list = [{text: "Busy", start: "2013-03-24T03:00:00", end: "2013-03-24T05:00:00", id: 10, resource: "B"}]; See also: https://doc.daypilot....
Answered: It's possible to display resources on the horizontal axis with the Calendar control switched to "Resources" mode: https://doc.daypilot.org/calendar/resources-view/ Demo: http://javascript.daypilot.or...
Answered: Sorry for the delay - a couple of changes were necessary so it took a bit longer. Instead of using the default behavior which is defined using .rowClickHandling="Select" you can also add your own eve...
Answered: In the Scheduler, you can use the following code: dp.onBeforeCellRender = function(args) { if (args.cell.start <= DayPilot.Date.today() && DayPilot.Date.today() < args.cell.end) { args.cell.backColor...
Answered: There is no built-in expiration mechanism that would cripple displaying the data. It looks like there might be a problem/bug. I assume you are using the sample project from https://code.daypilot.org/...
Answered: By default, the Scheduler displays a special overlay div over long time header cells during scrolling: http://doc.daypilot.org/scheduler/floating-time-headers/ It should copy the custom time header H...
Answered: Since version 8.2 ( http://javascript.daypilot.org/daypilot-pro-for-javascript-8-2/ ) the scheduler supports "publish-as" attribute which lets you specify the target for the DayPilot.Scheduler object...
Answered: At this moment the number of beds is not editable using the sample code. However, it's stored in the database (rooms.capacity field) so it shouldn't be difficult to add an option to edit it.