Questions Tagged
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...
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 ...
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.
dragging from external list focusing on prefer target
Answered: I worked it out using scrollTo & scrollToResource. thanks anyway
How can I change font css for a specific Task Column in Gantt Chart
Answered: Each row header column cell is marked with several CSS classes. One of them is column-specific and includes the column number. Example: Column #2 (indexed from 0) with the default theme ("gantt_defau...
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:
...
JS Schedular - Multimove across the resources(y axis)
Answered: You can move all events if you set multiMoveVerticalMode property to "All":
dp.multiMoveVerticalMode = "All";
The documentation is now updated.
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...
typescript can't find Property 'makeDraggable'
Answered: DayPilot.Scheduler.makeDraggable() is now included in the TypeScript definitions (since https://javascript.daypilot.org/daypilot-pro-for-javascript-8-3-sp12/).
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...
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...
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...
How to increase/decrease width Header Column in ASP.Net
Answered: You can use the CellWidth property:
<DayPilot:DayPilotGantt
...
CellWidth="20" />
delete and/or view
hi, how do i delete/cancel the event on your program? also, how or where can i access or view it's database? 'coz i can't see it in my localhost. i'm using uwamp server. it would be great if you help...
Demo failed in Visual Studio 2017
Hi The demo opened OK and built OK, however, when I ran it in Internet Explorer I got Server Error in '/' Application Exception Details: System.IO.FileLoadException: Could not load file or assembly '...
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 al...
Events show less one day and endDate on TimeRageSelected gives 1 more day
Answered: This is by design. Please see this topic for more details and other options: https://doc.daypilot.org/scheduler/event-end-date-time/
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...
Automatically moving later events when inserting new event
Answered: This is a nice feature but it's not implemented at the moment because it would lead to bad app design (allowing inconsistencies). 1. Let's say you have scheduled one event per day for a given resourc...
Updated sample for timesheet MVC 5 with pro
Hi can you share an updated sample on ASP timecard MVC 5, that also captures information like projects, bill rates etc
Incompatible DayPilot client script version. Expected 2717 (you are using 1478)
Answered: It looks like the old version of the client-side script is still cached somewhere. You can try forcing a reload by adding a random query string to the js file url (e.g. a version number):
<script s...
How can I set the value of Text in the Calendar control if it's not data bound?
Answered: The "Text" property is read-only but you can set "Html" property. That is the value that is actually used for rendering the event. If Text is available it's used as the default value of Html.
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...
Drag and Drop task (events) on a specific resource
I have a Angular 2 web-app with tasks (events) and resources. I also have a drag-and-drop module instaled (https://www.npmjs.com/package/ng2-drag-drop). Is it posible to drag a task from a list and d...
How to use Resource Utilization with MVC
I want to use this feature to show utilization for my rows, but i dont found any examples for that. This is the link to the official demo: http://mvc.daypilot.org/demo/scheduler/ResourceUtilization I...