Active Questions
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...
how to reduce amount
Hi sir, This is valueable to codeing .but small doubt . iask to how to reduce in amount .
Change from sqllite to MS SQL
Answered: Yes, you just need to adjust the $db variable initialization in _db.php:
$db = new PDO('sqlite:daypilot.sqlite');
For MySQL you'll need to use something like this:
$host = "127.0.0.1";
$port =...
Inverse the axis
Answered: It's possible but you'd have to use the Calendar control switch to the "Resources" mode instead of the Scheduler. You can see a demo here: https://javascript.daypilot.org/demo/calendar/resources.html
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...
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...
StartDate = null after decode a recurring event.
Hi everyone, I am useing the following code to make a recurring event. RecurrenceRule rule= RecurrenceRule.FromDateTime(id, start).Weekly().Times(times); In rule the StartDate is correct. After Encod...
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.
DayPilot.Scheduler.resources expects an array object in 8.3.2724
Hello, I evaluated feasibility of daypilot in Angular in trial of version 1938 and now we bought licensed code. Once I copied library I started to getting error: DayPilot.Scheduler.resources expects ...
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:
...
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/
dragging from external list focusing on prefer target
Answered: I worked it out using scrollTo & scrollToResource. thanks anyway
Scheduler OnTimeRangeSelected shows wrong start/end
I set business hours at 7-23 and do not want to show non business hours. My code looks like this: http://pastebin.com/V5RhtV0d The thing is that on time range selected it shows wrong hours, e.g. star...
Calendar Timetable with TimeHeader as a range of start and end
I would like to make a Timetable (daily) for my events, just to have one under another (one in a line). I've seen a tutorial, but it is for WebForms. For now I've done TimeHeaders with range of start...
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/
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...
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...
Time Range Multi-Selecting without holding ctrl.
Hello everyone, is it possible to do a multirow select without holding the ctrl button in the scheduler? I should be possible to select the startDate by clicking on one cell. Then the user should hol...