Questions Tagged javascript
How to get the start and end date
I am currently using the trial version of DayPilot Pro. I am displaying a default week / month view of the current week/month. I need to extract from the calendar the start and end dates it is showin...
module daypilot angular
hi ! i would add this calendar to my software but it wont add the library daypilot pro angular so i install it , i put it in systemconfig.ts : " 'daypilot-pro-angular': 'npm:daypilot-pro-angular' " b...
hideAfter property of bubble is not working
I have tried to set the hideAfter property to 8000 miliseconds, but bubble gets hide after mouseout. hideAfter property not working. please suggest Thanks
New version uses Array.prototype.find which is not supported by IE11
Answered: Hi Marc, This is a bug. It's fixed now in the latest sandbox build (2934): https://javascript.daypilot.org/sandbox/ Thanks for reporting the issue!
two scheduler synchronization
Hello, I have two schedulers on a page. Bottom one doesn't have a timline and it's right under the first scheduler. Cells have the same width, so they look like one grid. But when I expand groups ins...
Drag and drop from one Kanban to another is often failing (no move done)
I have two kanban in a page and dragOut is enabled; allowing to drag a card from one kanban to another. When using it, it often fails (nothing happens, the card is not moved; it remains at the previo...
Can I switch column header x and y ?
Answered: Please see my answer here: https://forums.daypilot.org/Topic.aspx/3866/how-to-change-first-column-header-from-time-to-date
How to change first column header from time to date?
Answered: Such a view isn't supported at the moment. I recommend using the Scheduler (https://doc.daypilot.org/scheduler/). The Scheduler can display days on the X axis and a hierarchy of resources on the Y ax...
hide resources name row
Answered: You can use "rowHeaderCols" property instead of "rowHeaderColumns". It's an older syntax that creates columns but doesn't generate the column headers. It holds an array with column widths:
dp.rowHe...
Event overlay
When you create one-minute or two-minute events, and with two-minute intervals between events, they overlap. The configuration used is below. dp.days = 365; dp.locale = "pt-br"; dp.scale = "Day"; dp....
Bubble error on production
Hello I have updated the version as I saw on your previous answers but still have error when hovering on the scheduler cells. Its happening only on production. thanks
Typescript compile errors in daypilot-angular.min.d.ts
Answered: These errors are fixed now in build 2914. Thanks for reporting the problem!
Displaying scheduler inside of a popup
Answered: You can set the Scheduler to use full height of its parent (see https://doc.daypilot.org/scheduler/100-pct-height/) to avoid duplicate vertical scrollbar. The horizontal scrollbar can be avoided usin...
DayPilot in AngularJS with webpack
Answered: After a night sleeping on the issue, found the solution. DayPilot registers the module in angular using angular.module("daypilot",[]) so in order to register one needs to use the 'daypilot' module na...
Possibility of an automated reminder
Answered: This needs to be done on the server side. DayPilot focuses on the UI and it doesn't include support for sending emails.
How to hide rows with no events
Answered: Take a look at this tutorial: https://code.daypilot.org/97960/html5-scheduler-hiding-rows-without-events
Can't install paid Daypilot with npm in a Angular/Cli Project
Answered: Have you replaced x.y.zzzz with the actual version number? Example for the latest release:
https://npm.daypilot.org/daypilot-pro-angular/your-api-key/8.3.2864.tar.gz
You can also get a link to a...
Utilize full cell when max hours = 9 hours
Answered: If you use the default .useEventBoxes value the events will be aligned with the grid cells:
dp.useEventBoxes = "Always";
See also: https://doc.daypilot.org/scheduler/exact-event-duration/
How to stop drag and drop feature on event calendar
Answered: You need to turn the features off one by one:
dp.eventMoveHandling = "Disabled";
dp.eventResizeHandling = "Disabled";
dp.timeRangeSelectedHandling = "Disabled";
See also the following tutorial ...
Include library in angular with webpack
Answered: If you import DayPilotModule in your own module like this:
@NgModule({
imports: [
// ...
DayPilotModule
],
// ...
})
export class SchedulerModule { }
You'll be able to i...
Fixed width on kanban when we have a lot of columns
Answered: It's now possible to use fixed column width (since build 8.4.2890). See the sandbox: https://javascript.daypilot.org/sandbox/kanban/columnfixedwidth.html You can switch to fixed width like this:
dp...
Modular DayPilot for Angular 4
Answered: At this moment it's not possible but we are checking if there is a way to exclude parts of the js file that are not needed. A quick stats FYI: The Scheduler itself (without helper classes like Menu, ...
Calendar _onMainRightClick
Answered: This should be already fixed since build 2886. See the sandbox: https://javascript.daypilot.org/sandbox/ Let me know if the problem persists. And thanks for reporting the issue.
How to find a resource by mouse position
Hi; How to find a resource by mouse position on rowColumnHeader using onmouseup event (not usingDaypilot.contextMenuResource) ! I used jquery like this $("body").on("mouseup",".scheduler_hotelca_rowh...
Scheduler print error on Internet Explorer
Hi, I've followed this guide: https://doc.daypilot.org/scheduler/printing/ but on Internet Explorer it fails :( IE is in compatibility mode: EmulateIE10 Thanks, Giovanni
Calendar Context on event after initial load
Answered: This issue should be fixed now in the latest sandbox build (8.4.2887): https://javascript.daypilot.org/sandbox/ Let me know if the problem persists.
Click on events not working when scheduler loaded in a dynamic component
We use a scheduler in a Ionic 3 - Angular 4 application and we face a problem: the scheduler is loaded in a dynamic component and when we try to click on events it doesn't work. The funny thing is th...
Export a Time Range example from Documentation does not work.
Answered: The exportAs() method is available in the Scheduler (DayPilot.Scheduler object) since version 8.2.2117. Note that it's not available for the other controls yet (Calendar, Month, Gantt...). Let me kno...
'daypilot-calendar' is not a known element
Answered: Both sources - the article (http://code.daypilot.org/63034/angularjs-event-calendar-open-source) and the forum topic (https://forums.daypilot.org/Topic.aspx/3170/directive-not-working) use AngularJS ...
How to disable an specific (the first one) row in Daypilot.Scheduler
Answered: Hi, If you are still looking for a solution. in MVC we have OnEventMove() being called on moving the events. You can probably check if the row is the one which you are looking for to be disabled. In ...