All Questions

Row Selection Highlight

Answered: It might be a CSS issue. You can check whether the CSS is being applied properly using Chrome developer tools - the row header columns should have *_rowheader_selected applied (where * is the theme n...

Scheduler in tab control

Answered: When you initialize a Scheduler that is in a hidden part of a page (like in case of a hidden tab) it is not possible to initialize the dimensions properly (all dimensions returned by the browser are ...

dp.locale = "es-es" not working

Answered: This bug should be fixed now in the latest build (8.1.1973). You can download it in the sandbox: http://javascript.daypilot.org/sandbox/

Hours allocated/worked for resources

Answered: This depends on the logic. There are two possible approaches: 1. Use a custom color of the grid cells to indicate the allocated hours (from-to). You can use BeforeCellRender to set the color directly...

Drop events outside Scheduler

Answered: Unfortunately the Scheduler doesn't support that at the moment. There are two options: 1. You can implement the queue using a special instance of the Scheduler (i.e. one resource, set the row header ...

Task moveDisabled

Answered: In the Gantt chart, each task is displayed in a separate row - which can be moved as well (in the tree hierarchy). That's why the properties are separate for the row (data.row) and the box in the gri...

Element is not a known element

Answered: There are two requirements for the IntelliSense to work: 1. The DayPilot.dll must be referenced and reachable. 2. The "DayPilot" prefix must be registered - either in the page header or in web.config...

Left Click Context Menu

Answered: You can open a context menu using javascript like this: menu.show(e); In the ASP.NET WebForms version, set EventClickHandling="JavaScript" and EventClickJavaScript="menu.show(e)". This assumes you ha...

Multiple Lines in Calendar Event Item

Answered: Yes, just modify the e.Html property in OnBeforeEventRender as needed. See also: http://doc.daypilot.org/calendar/event-customization/

headerlevel

Answered: Sorry for the delay! This turned out to be a bug of the .update() method. It should be fixed now in the latest sandbox build (8.1.1981): http://javascript.daypilot.org/sandbox/ Let me know if there i...

How to set color of milestone and group bar in gantt

Answered: Shapes of these elements are created using CSS so you can't control the color using a simple property in BeforeTaskRender - they can only be modified using CSS. You can use BeforeTaskRender to add a ...

"DayPilot for javascript" headerLevels How to Set

Hi. I have been using daypilot-1895. When you set the following value to the property layout was collapsed. $dp.headerLevels = 2; $dp.headerHeight = 16; $dp.allDayEventHeight = 10; $dp.headerHeightAu...

Managing displaying meetings categories

Answered: You can customize the events using BeforeEventRender event handler: http://doc.daypilot.org/calendar/event-customization/ You can use it to set custom event color, HTML, CSS and other properties depe...

autoRefresh setup for AngularJS

Answered: Your configuration is fine - there was a problem in DayPilot. In Angular, the Scheduler initialization mechanism is slightly different and the autorefresh didn't start automatically. It's fixed now i...

187-lite

I am using the JavaScript version of the Calendar (187-lite). dp.viewType = "week"; dp.eventDeleteHandling = "Update"; dp.dayBeginsHour = 7; dp.businessBeginsHour = 7; dp.businessEndsHour = 22; dp.da...

deleteDisabled for Scheduler not working

Hello, I found in the Javascript DayPilot events documentation that there is a property deleteDisabled. I set it to true and it's not working and I'm still able to delete the event. I have already us...

Change the color of the events

hi! am using the DayPilot on external drag and drop, and my question is: as change the events color, Through a context menu option if the opcion is 1 the color be green, if opcion is 2 this be red i ...

One Event with multiple resources

Answered: You need to create a special entry for each of the event x resource combination. You can use "joint events" feature to link them together so they will be moved and resized together: http://javascript...

How to block (and show) a complete day

Answered: Unfortunately it is not possible to draw a single rectangle over multiple cells at the moment. Another option might be to use onBeforeCellRender to use a different color for forbidden cells + use onE...

Image/PDF Export for ASP.NET MVC

Answered: The next MVC version (8.2) will include client-side PNG export support. You can create the PDF on the client side using jsPDF ( http://mrrio.github.io/jsPDF/ ). It will let you insert the exported PN...