All Questions

Float value instead of time on x-axis

Answered: The X axis will always use datetime values internally but you can map your numeric/duration values to it (add it to the StartDate as minutes or hours). You can override the time header to display the...

Next and Previous Navigation Jump Double

Answered: Dan Letecky you are correct. It is being called twice because of the Handle and OnCommand both being used. I removed the OnCommand from the ASPX and all is well again. Thank you for the help.

Trouble

Answered: It looks like the following statement from jQuery throws the exception: return+new Date You should check if you don't override the default "Date" object in your code.

Event Calendar hide weekends

Answered: If you'd like to display a custom number of consecutive days you can use "Days" view as described here: https://doc.daypilot.org/calendar/days-view/ It's also possible to display any combination of d...

Change the color of the event

Answered: If "events" holds an array of DayPilot.Event objects you need to change the background color like this: // ... evt.data.backColor = 'Gray'; // ... instead of // ... evt.backColor = 'Gray'; // ... Als...

Error Javascript

Hello Dann, can help me with the following error, which is generated when I close the window create function close(result) { if (parent && parent.DayPilot && parent.DayPilot.ModalStatic) { parent.Day...

Cannot export or print schedule [AngularJS]

Answered: Update: The latest sandbox build (8.4.3098) accepts string, number and null (null was added in this build). The exception text now includes the value type. https://javascript.daypilot.org/sandbox/ Pl...

Event start end problem

Answered: By default DayPilot works with exact date/time points, i.e. an event with end specified as "2017-10-06T00:00:00" will end at the beginning of October 6, 2017 (midnight). There is an option to change ...

Cell duration

Hello, I would like to change the cell duration of the time to be 1 min in asp.net webforms I changed the code to be: <DayPilot:DayPilotCalendar ID="DayPilotCalendar1" runat="server" CssClass="auto-s...

How to access constants in Angulajs Template

Hi, How can I access constants defined in common js file into a template of a different module? if I defined a constant like this in my MainModule.js which is included in the beginning of the main HT...

Moving all events from once resource to another

Answered: You can get a list of all events for a given row using DayPilot.Row.events.all(): var events = dp.rows.find("A").events.all(); Then change the "resource" value for all of them and call update: events...

Collapse all Rows

When I click to open a row, is it possible to collapse the other rows without foreaches? Thanks in advance!

Clear cell values

Hi I have a resource called summary and showing the totals depending on resource. But when i changed the resource still showing the previous values. how can clear the values in some cells i.e is summ...

Move events dynamically joint

Hi, I'm using Daypilot Scheduler Javascript, and I'm wondering if the joint events feature could help me. What I'm trying the achieve is to move an event on the time axis using drag and drop, but at ...

Getting the filtered events

Hi, I have to get filtered events i mean events visible on the scheduler. Do we have any direct option or only through javascript function. thanks

Event move

Hi While moving the event,event is resizing.How to prevent resizing while moving the event Thanks

Want to show Cell in color

I want to apply color for cell if respective date is having more than 1 count...I am using now dp.onBeforeCellRender() for the same. But its not very usefull for me.

AreaCollection in Calendar

Answered: The active areas are supported in Calendar cells but only with fixed positioning using area.Left/Right/Top/Bottom. Positioning using area.Start and area.End is not supported at this moment.

modal dialog

Answered: You need to add the buttons yourself. The showHtml() doesn't add anything to the HTML and only displays what you supply. You can close the dialog by calling modal.close() method.

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