All Questions

How to apply daypilot license?

Answered: You need to use daypilot-all.min.js file from the full package. This file is different for the licensed version.

Moving 2 day calendar

Answered: You need to use Scale="Manual" and generate the timeline manually: https://doc.daypilot.org/scheduler/timeline/ Something like this: private void CreateTimeline() { DayPilotScheduler1.Scale = TimeSca...

Full View Print on Scheduler

Answered: Yes, it's possible using the standard exportAs().print() call. Just specify the area you want to export: dp.exportAs("svg", { area: "full"}).print(); You can try it in the browser console in the Sche...

Daypilot is calling Pageload multiple times

Answered: DayPilot uses the standard ASP.NET CallBack mechanism to communicate with the server side. Each callback fires the respective event handler (e.g. EventMove) but it also goes through Page_Load first. ...

Angular2 Scheduler performance issue after upgrade

Answered: It looks like zone.js generates an internal error whenever an event handler is assigned to a DOM object. This error is handled internally - I'm not sure if it's part of the standard workflow, but it'...

tooltip

Answered: There is a property of BeforeEventRenderEventArgs called ToolTip: Protected Sub DayPilotScheduler1_BeforeEventRender(sender As Object, e As BeforeEventRenderEventArgs) ' ... e.ToolTip = "ToolTip Text...

How to disable scheduler

Answered: You need to disable the features one-by-one using *Handling properties, e.g. EventClickHandling = Disabled, EventRightClickHandling = Disabled, EventMoveHandling = Disabled, TimeRangeSelectedHandling...

Show Current date on moving

Hi, I have some question about to show current date on event moving. Can I set the scheduler to show only current date hover on the shadow and disabled start date and end date on left and right? Than...

image in Scheduler

Hi Can it is possible to have an profile image of Resources in Daypilot Scheduler. If it is possible can you provide me the code in JS. Thanks Anil Singh

Assign custom list in event list

Answered: The most common problem when the events don't appear is that the resource id reference (dp.events.list[].resource) doesn't match the id of the resource (dp.resources[].id). Note that it must be exact...

DataTextField string from another table

Answered: At this moment it can only read direct properties - you'll have to create an alias: public string PaintballName { get { return PaintballOption.Name; } }

automatic scrolling on resources

Answered: At this moment the autoscroll feature is enabled only during drag & drop by default. In order to scroll the resources down you need to use autoScroll = "Always" and move the mouse cursor close to the...

HTML in resource text

Answered: I've found a solution: dpCalendar_BeforeResHeaderRender In vb code I change the property e.html in e.html = "<b> & e.html & "</b>" if some my contitions are true. Bye Davide

Scroll to particular hour of day

Answered: The scrollTo() method also accepts DayPilot.Date object/ISO 8601 date string so you can use it to scroll to a specific point in time. The Angular 2 version also supports scrollTo as a property of the...

How to add text field in cell?

Answered: Yes, you can add custom HTML to grid cells using onBeforeCellRender event handler. Example: dp.onBeforeCellRender = function(args) { if (args.cell.resource === "A") args.cell.html = "12"; } }; See al...

Scheduler event inline editing problem

hallo, i use the latest version (8.3.3553) of daypilot scheduler for asp.net. i have problems with a weird behaviour of inline editing. i start inline editing using EventClickHandling=Javascript. if ...

Disable right click on DayPilot Scheduler

Answered: By default, timeRangeRightClickHandling is set to "ContextMenu". That means grid right click activates the context menu - but it must be set using contextMenuSelection property. If you use timeRangeR...