Questions Tagged javascript

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...

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....

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 ...

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...

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...

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 ...

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...

Format date in timesheet mode (Angular 5)

Answered: By default, the timesheet uses the short date format specified using the current locale for the day headers. You can customize the text using onBeforeRowHeader render event handler: config: any = { o...

How to use bubblehtml on angular5

Answered: Please make sure that eventHoverHandling property is set to "Bubble": config: any = { eventHoverHandling: "Bubble" }; This is the default value but the current version of the UI Builder ( https://bui...

Disable cells previous to the current datetime

Answered: Unfortunately, DayPilot Lite doesn't support disabled cells. However, you can check the dates in onEventMove, onEventResize, and onTimeRangeSelect events handlers and call args.preventDefault() to ca...

daypilot calendar bubble bug (angular, general)

Answered: This issue should be fixed in the latest sandbox build (3394): https://javascript.daypilot.org/sandbox/calendar/index.html Please let me know if the problem persists. A new release with the bug fix w...