All Questions

Svg export bug

Answered: The time header background color should now work properly with the latest sanbox build (8.3.2737): https://javascript.daypilot.org/sandbox/ The export doesn't support HTML in the Scheduler elements a...

cells don't appear with background color

Answered: Are you using the latest DayPilot Pro version? This normally shouldn't happen and I'm not able to reproduce this problem. Anyway, as a workaround you can also call: dp.show(); It has the same effect ...

ShowNonBusiness="false" page collapse

Hi, I have a date picker that is fed to the Scheduler control. The scheduler only shows 1 day at a time and for the hours 5am until 9pm using ShowNonBusiness="false" BusinessBeginsHour="7" BusinessEn...

AreaCollection in DayPilot calendar

Answered: Active areas were not supported in the Calendar grid cells until now. However, this feature is now available in the latest sandbox build (8.3.5867): https://mvc.daypilot.org/sandbox/

one events on tow resources

Answered: There are several possible approaches: 1. You can select multiple ranges at once: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ 2. You can select additional rows and create a record ...

Angular2 : problem with licensed version

Answered: There is a bug in the latest release. It's already fixed in the latest sandbox build and a new release is on the way - it will be available later today. Meanwhile, you can use the previous release (8...

Cell customize

Answered: I'm not sure if this is exactly what you are looking for but you can get a list of events the overlap a given cell in onBeforeCellRender using args.cell.events(). See also: https://api.daypilot.org/d...

New Lines in DataTextField

Answered: Oh nevermind, I just replaced Environment.NewLine with <br /> and in wrote protected override void OnBeforeEventRender(BeforeEventRenderArgs e) { e.Html = e.Text; } works nice now, there are new line...

DayPilotScheduler variable no longer available

Answered: Yes, DayPilotScheduler namespace is deprecated as is no longer available. Instead of DayPilotScheduler.dragStart() you can use DayPilot.Scheduler.startDragging(options): Old syntax: DayPilotScheduler...

Half Day Blocks

Answered: Found a solution... function onEventMoving(args) { args.start = args.start.getDatePart().addHours(12); args.end = args.end.getDatePart().addHours(12); }

Event for ContextMenuSelection

Hey everyone, I tried to call a method in my contoller via a the MenuItemAction. In the normal ContextMenu the "OnEventMenuClick" event gets fired. So I want to know which event is for the ContextMen...

scrollToResource

I need to return the user to the last row they clicked on and see references to scrollToResource but it doesn't seem to exist in the Pro MVC build. Is there a way to do this in MVC?

Conditional Overlaps of Appointments?

Answered: You can use the real-time event handlers to implement it: EventMovingJavaScript EventResizingJavaScript TimeRangeSelectingJavaScript The latest sandbox build (8.3.3582) supports DayPilot.Row.events.f...

Default start time

Answered: In the Calendar control, you can use ScrollPositionHour property to set the initial scrollbar position.

Resize event

Answered: I've updated the version and its solved. thanks.

Time and Attendance for ASP MVC

Hello, I am after a working time and attendance component with managers approval and invoicing - status (approval/rejected) and various states (like submitted, new, locked etc). So the same timesheet...

Monthly Time range selection is erratic

Answered: Thanks for the reply Dan. No issue with clearing it manually. It was just acting slightly different from the Lite version and wanted to be sure it wasn't something stupid that i did.

Grid Lines

Answered: If you mean the grid cells starting and ending at 12:00 (noon) instead of 00:00 (midnight) then this is implemented using a custom timeline feature: https://doc.daypilot.org/scheduler/timeline/ It's ...