Questions Tagged javascript

Kanban: Active Column in AngularJS

Answered: There was a bug - the Kanban control made some direct changes to the column.areas array during an update which triggered another update... It should be fixed now in the latest sandbox build (8.2.2375...

Unable to hide non business hours

Answered: In the Calendar control this functionality is not controlled by "showNonBusiness" but using heightSpec property. In fact, there are two options: 1. Use heightSpec: "BusinessHoursNoScroll" https://doc...

Navigator selection days

Answered: It's in the wishlist but there is no specific time plan. There is an option to sponsor this feature if you'd like to set a fixed implementation date - please contact sales@daypilot.org if you'd like ...

Load resource data via ajax doesn't expand child nodes

Answered: You can expand the children by adding expanded: true property to the parent node: [{"id":11,"name":"Dublin - EIRE","children":[]},{"id":24,"name":"My Venue","children":[]},{"id":25,"name":"Graham's H...

Day border

Answered: One of the options is to add custom separators at the specified times (day starts): https://doc.daypilot.org/scheduler/separators/

Select multi resources?!?

Answered: In the Lite edition, the Scheduler control is not available. In the Pro edition, you need to load the event as multiple records if you want to display it in multiple rows (one per row).

How to make events removable?

Answered: In the Lite (open-source) edition the built-in delete icon is not supported. In the Pro edition you can enable it using eventDeleteHandling property: dp.eventDeleteHandling = "Update"; See also: http...

Day Pilot Event Calendar

I wants align my one (or) more events one below one associated with same timeslot using Event Calendar in Week view and Day view. How to achieve this, can you please guide me.

Divide day block/cell to more blocks/cells

Answered: It's possible to set custom cell size using the following settings: dp.scale = "CellDuration"; dp.cellDuration = 240; // 240 minutes = 4 hours See also: https://doc.daypilot.org/scheduler/time-cell-d...

Problem setting headerDateformat to pt-br

Answered: What version of DayPilot do you use? There was a bug in versions prior to build 1974. It should work fine since version 8.2: http://javascript.daypilot.org/daypilot-pro-for-javascript-8-2/ Let me kno...

How to change message color (angular)

Answered: Sorry for the confusion. The documentation on .message() was out-of-date. The current syntax allows you to pass additional properties using "options" object like this: dp.message("Test", { cssClass: ...

How to group resources without tree

Hi Is it possible to visually group the resources without make a tree (with no row for the parent(s) of the resources) ? Like on the screenshoot attached : beds are resources beds B and C are in the ...

Calendar refresh - hotel reservation

Answered: You can use the built-in autorefresh feature: https://doc.daypilot.org/scheduler/autorefresh/ It will fire onAutoRefresh event in the specified interval. The execution is paused during drag and drop ...

Scheduler Event Resize Issue

In DayPilot Scheduler Event drag is working fine but I cannot resize the event by dragging. Can Anybody help me to fix this Issue? Using following version. DayPilot Pro Copyright (c) 2005 - 2016 Annp...

Different CellDuration for scheduler cells and header

Answered: It's possible to insert custom segments into the time headers cells using time-based active areas. This technique is used in the following demo to split a month into thirds: http://javascript.daypilo...

onEventMove - cancel on server error

Answered: Christos, Take a look at the "Asynchronous Validation" demo: http://javascript.daypilot.org/demo/scheduler/asyncvalidation.html dp.onEventMove = function(args) { args.async = true; dp.message("Checki...

snapToGrid not working

Hi, I was trying to apply snapToGrid false in our Scheduler (to be able to resize events by minutes), but it is really not working. Maybe is some other config property that is blocking it. Our config...

Moving Events- Java Script Scheduler

Answered: Are you able to reproduce this issue in the online demo? http://javascript.daypilot.org/demo/scheduler/ There is an option to link multiple events together so they will always be moved and resized to...

Switch X and Y axis on HTML5 Timesheet

Answered: You can use the Calendar control which has the axes switched. If you want to show more days (more than the usual week) you can use fixed column width: https://doc.daypilot.org/calendar/fixed-column-w...

AngularJS themes not working

Answered: This bug should be fixed now in the latest sandbox build (8.2.2266): http://javascript.daypilot.org/sandbox/ Let me know if there is any problem. And thanks for reporting the issue!