Questions Tagged java

Change color on header click

Answered: Please take a look at the following tutorial: https://code.daypilot.org/68382/javascript-calendar-selecting-and-highlighting-columns

Problem when launch daypilot

Answered: Can you please contact support@daypilot.org? Please include your order number.

Problem with an org.daypilot.json.JSONException:

Answered: It looks like you are reading the input stream before passing it to process(). In that case, it's necessary to reset the position in the stream to 0. Something like this might also happen if you try ...

How can i use angular 6 day-pilot in mobile?

Answered: The components will work on mobile devices as well. 1. You may want to make some dimension adjustments (like the row header width in the Scheduler) depending on the device width. 2. You'll also need ...

Hotel type calendar grid

Answered: DayPilot requires to be run in a web application (it's a client-side JavaScript technology). It is possible to create a web application that uses Microsoft Access as storage but it's not recommended ...

Overlay to indicate days has past

Answered: One option is to add custom CSS (using cell.cssClass) and create styles for all different combinations of classes (they are all applied at the same level): .scheduler_default_cell, .scheduler_default...

Sales Questions

Answered: Hi Jainik, Please check your mailbox, I've sent you an email.

Why is some of the Calendar bar another color, sometimes?

Answered: By default, the event boxes are aligned with the grid (useBoxes="Always", see also https://doc.daypilot.org/calendar/exact-event-duration/ ). The duration bar is filled with the lighter color. The da...

Overlapping events mode

Answered: You can find the overlapping event arrangement options here: https://doc.daypilot.org/calendar/event-arrangement-mode/

What determines if an Event is shown?

Answered: Each column uses two key properties: id start The basic rule is that event.start must be within the specified day (column.start) and the event.resource must match the column id (column.id). Plus: 1. ...

Active drop-area in Calendar

Answered: You can use the real-time event handlers to check custom conditions: https://api.daypilot.org/daypilot-scheduler-oneventmoving/ https://api.daypilot.org/daypilot-scheduler-oneventresizing/ https://ap...

Intellij and Daypilot library

Answered: Ok solved just the Daypilot Javascript and Jar where corrupted

Search for value

Answered: There is an API to find events using the event id: var id = "123"; var e = dp.events.find(id); Then you will be able to focus it using scrolling methods: dp.scrollTo(e.start()); dp.scrollToResource(e...

show days/month on top when scrolling down

Answered: Yes, this is possible - see the HeightSpec options (especially HeightSpec = "Fixed", "Parent100Pct" and "Max" values): https://doc.daypilot.org/scheduler/height/

Hide TimeHeaders with Java-API

Answered: It looks like a bug. Normally, you should be able to hide the time header using getTimeHeaders().clear(). Please let me check the problem. You can also try to set the header height to 0 as a workarou...