Questions Tagged
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...
Cannot read property 'height' of undefined
Answered: After trying a few things I've came to the conclusion that dp.update() can not be executed before dp.show() or vice-versa.
Finding empty time slots in the event calendar
I am trying to build a timesheet app and I want to find all the empty slots (where there is no event assigned to the time slot) on a given day and not let them submit if there are more than accepted ...
cells don't appear with background color
Answered: Are you using the latest DayPilot Pro version? This normally shouldn't happen and I'm not able to reproduce this problem. Anyway, as a workaround you can also call: dp.show(); It has the same effect ...
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...
ShowNonBusiness="false" page collapse
Hi, I have a date picker that is fed to the Scheduler control. The scheduler only shows 1 day at a time and for the hours 5am until 9pm using ShowNonBusiness="false" BusinessBeginsHour="7" BusinessEn...
AreaCollection in DayPilot calendar
Answered: Active areas were not supported in the Calendar grid cells until now. However, this feature is now available in the latest sandbox build (8.3.5867): https://mvc.daypilot.org/sandbox/
Error while compiling angular2 project using AOT compiler " StaticSymbols in summaries can't have members!".
Answered: The latest sandbox build (8.3.2769) now supports AOT. The Angular 2 components were moved out of the DayPilot.Angular namespace and it's necessary to use the new component names. The old components i...
one events on tow resources
Answered: There are several possible approaches: 1. You can select multiple ranges at once: https://doc.daypilot.org/scheduler/time-range-multi-selecting/ 2. You can select additional rows and create a record ...
Angular2 : problem with licensed version
Answered: There is a bug in the latest release. It's already fixed in the latest sandbox build and a new release is on the way - it will be available later today. Meanwhile, you can use the previous release (8...
Cell customize
Answered: I'm not sure if this is exactly what you are looking for but you can get a list of events the overlap a given cell in onBeforeCellRender using args.cell.events(). See also: https://api.daypilot.org/d...
DayPilotBubble not showing on Touch/Mobile devices (iOS/Android)
Answered: Hi Piet, The problem is that the previous behavior was not intended - it was never supposed open a cell bubble on tap. Cell tapping selects a single cell and fires TimeRangeSelected event. You should...
New Lines in DataTextField
Answered: Oh nevermind, I just replaced Environment.NewLine with <br /> and in wrote protected override void OnBeforeEventRender(BeforeEventRenderArgs e) { e.Html = e.Text; } works nice now, there are new line...
Reloading daypilot control based on dates from textbox
How to reload daypilot scheduler based on date entered in a text box? Currently thought it taking value, once form is loaded, it show data loaded first time. Kindly assist