search envelope-o feed check
Home Unanswered Active Tags New Question

Active Questions

[?] How to change the Event Areas value from dps.contextMenu

Answered: If you have access to the DayPilot.Event object (e) you can change it like this: // e holds DayPilot.Event object e.data.areas = [{ html: "Confirmed", right: jsonTags.AreasRight, bottom: jsonTags....

All appointments shifted by 30 minutes

Hi, Somehow, all my appointments (and business starting hours) are shifted by 30 minutes (see attachment). What am I doing wrong/how can I fix it? Using: DayPilot Calendar, Version: 2018.1.228-lite I...

DayPilotScheduler - hide non business hours

Answered: Unfortunately, this feature is only available in the Pro version. See also the feature comparison: https://aspnet.daypilot.org/feature-matrix/

Change color of some resource divider

Answered: Unfortunately the divider div is not part of the resource header element so you can't control it using resource properties. However, you can hide the default divider and use a bottom border of the ro...

[?] Update Event client-site

Answered: After read some sample code, I know how to do. Instead of `e.client.moveEnabled = false; ` , it should be ` e.data.moveDisabled = false;` and after that, use ` dp.events.update(e).queue();` to update

Calendar stops working

Answered: Do you see any error in the JavaScript console? Does the whole page freeze (do other element on the page work) or is it just that the Calendar doesn't respond to mouse actions? I know that it might b...

Showing Custom Data

Answered: The Scheduler requires the key data (such as event start, end, id) to be stored in specific properties. You need to transform your data items to match the required structure. You can use map() to do ...

options to split hour

Answered: For the Calendar component (used in index.php and doctor.php) you can adjust the scale to show 15-minute cells using cellDuration property: var calendar= new DayPilot.Calendar("dp"); // ... calen...

Filtering

I believe I have found a bug with the filtering function. I have two different pages on my web site with two different occurences of the Daypilot scheduler, and the filtering is working nicely on of ...

How to get all events by Resource

Answered: Ben, You can get a list of all events like this: var events = dp.rows.find("A").events.all(); And delete them: dp.rows.find("A").events.all().forEach(function(e) { dp.events.remove(e); })...

Navigator Render error

Answered: hi thanks for your fix answer. JavaScript 2018.2.3281 and i use electron with Chromium 61.0.3163.100. thanks

Drag items off scheduler

Answered: At this moment, you can only drop the events on another Scheduler instance. There are two ways to approach this: 1. Use a context menu item (something like "Unschedule") to remove an event from the S...

Drag and select default (without holding shift key)

Answered: You can change the behavior using onGridMouseDown event handler: https://api.daypilot.org/daypilot-scheduler-ongridmousedown/ Example: dp.onGridMouseDown = function(args) { args.action = "Rectan...

Reduce tree parent heights compared to children

Answered: The row height is derived from the event height (the total height is adjusted automatically to fit all events). You can specify custom event height for the parent rows using eventHeight property: htt...

Manual scale timeline with minutes

Answered: Henry, The time headers can use one of the group sizes defined here: https://doc.daypilot.org/scheduler/time-header-groups/ If you want to use a group size smaller than one hour you need to use group...

No themes other than defualt included with Angular package 2018.2.3281

Answered: The sample CSS themes (including scheduler_8) can be found in the zip package (both trial and full versions), in demo/themes directory. You can also download it directly using this link: https://java...

DayPilot Calendar Angular allowEventOverlap = false Not preventing Event Overlap

Answered: It looks like you are using an old version - the allowEventOverlap property is supported since 2018.1.3187 in the Calendar component: https://javascript.daypilot.org/daypilot-pro-for-javascript-2018-...

java.lang.NoClassDefFoundError: Could not initialize class org.hsqldb.lib.FrameworkLogger

getting noclassdeffounderror exception, below is the full stack: May 24, 2018 12:12:25 PM org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/EventCalendarTier3].[DpcServlet] invoke SEVER...

Angular 6 error

Answered: Martin- Angular 6 requires DayPilot Pro version 2018.2.3281 or later: https://javascript.daypilot.org/daypilot-pro-for-javascript-2018-2-3281/ I'm not able to reproduce the error with that version. T...

Changing the Daypilot instance

Answered: I found the solution myself, would be of help to others if ever come across this question. I simply used the dispose() method of the DayPilot, so when the event is triggered, I first got rid of the e...
Previous Questions 1721-1740 of 5201 Next