All Questions

Documentation

Is there any documentation on the Daypilot.Switcher? I can't find any.

Can't get showNonBusiness to work on JS

Answered: I used dayBeginsHour and dayEndsHour instead and that worked perfectly. I'm not sure if showNonBusiness is deprecated, I tried to debug the script and saw those two so I used them. So now my only pro...

Can Navigator be used seperately from other controls?

Answered: Yes, no problem. Just set TimeRangeSelectedHandling to "PostBack" or "JavaScript" and handle TimeRangeSelected/TimeRangeSelectedJavaScript event to be notified about the new date selection. You can a...

SyntaxError: Unexpected token in JSON at position 0

Answered: It is definitively related to the use of BOM, If I open the file I clearly see the [ at first position but if the file is read through fs, the BOM is not stripped and the JSON.parse fails.

Gantt: onBeforeTaskRender cssClass not working

Answered: You need to specify the CSS class for either the row header (args.data.row.cssClass) or for the task box in the grid (args.data.box.cssClass). In the Gantt chart, args.data.cssClass doesn't exist: dp...

New row localization

Answered: It can be changed using "RowCreateHtml" property which is available since build 8.3.3592 (now in the sandbox): https://www.daypilot.org/sandbox/

Hide resource without event

Answered: It's possible to hide the rows without events using client-side row filtering. There is a tutorial available for the JavaScript version of DayPilot Pro: https://code.daypilot.org/97960/html5-schedule...

I'm having troubles with databind

This is my getDate function: Private Function GetCalendarData(ByVal start As Date, ByVal [end] As Date) As DataTable Dim rfTecnico As Integer = Session("idUtente") Dim da As New SqlDataAdapter("stato...

All Day Event Font Color.

Answered: FontColor is now supported for all-day events as well (since build 8.3.3595). You can get the latest build in the sandbox: https://www.daypilot.org/sandbox/

Scheduler

Answered: Yes. In that case the row height will be increased automatically so that all events fit in. You can disable event overlapping for drag and drop operations: https://doc.daypilot.org/scheduler/event-ov...

Customizing Color, Heigh of Group, Child Task images

I am using Demo DayPilot Gantt to know its flexibility and customization before going to purchase. Can someone let me know 1. How to change background color for group, child task and milstone. 2. How...

Scheduler footer

Answered: The footer is not available yet. It's in the mid-term plan (6 months - 1 year). As a workaround, you can display column-related information in an additional time header row (use TimeHeaders collectio...

Display selected day in Navigator

Answered: You can select a given day using .select() method: <div id="nav"></div> <script> var nav = DayPilot.Navigator("nav"); // ... nav.init(); nav.select("2017-03-13'); </script> See also: https://api.dayp...

Leak on the splitter object in daypilot-all.debug.js

We found out that the events 'mouseup' and 'mousemove' registered in daypilot-all.debug.js line 6227 are never unregistered, causing a leak every time you zoom in/out of the component. this.registerG...