Questions Tagged scheduler
Add Columnb/Attributes
Answered: In BeforeEventRender event handler, you can reach the original data item using e.DataItem property:
e.DataItem["field1"] // field1
e.DataItem.Source // the original object
e.DataItem is access...
Custom context menu when right-clicking on empty space in Scheduler
I am using Daypilot for ASP.NET MVC, specifically the Scheduler. I set the ContextMenuSelection property of the Scheduler to show a context menu when a user right-clicks on an empty space in the sche...
Display Back to Back Events in Scheduler
Answered: 1. The combination of UseEventBoxes=Never and setting the end time to the start time of the next event should work. If you take Image 3 and set UseEventBoxes=Never, does it work as expected? 2. You s...
Scheduler - HeaderRow Start at 23 o`clock
Answered: Yes, it's possible. The StartDate must be set to the first day. You need to use ShowNonBusiness="false" option. Then you will be able to hide individual time columns using BeforeTimeHeaderRender even...
Can I show a context menu when the user right-clicks on an open space in the Scheduler?
Answered: Yes, this is possible - you need to assign the context menu to ContextMenuSelection:
<%= Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig {
BackendUrl = ResolveUrl("~/Scheduler/Backend"...
Schedular not showing after deployment
Answered: Hi Dan, That works great! i'm happy to be able to see the scheduler again :D With kind regards, Wendel van Rheenen
EventArrangementType for DayPilotScheduler (display overlapping events in a single row) ?
Hello, is it possible for DP Scheduler (Pro) to display events which overlap not to get arranged one per row but to get cascaded (or really just let them overlap in one single row) like in the DP cal...
DayBeginsHour and DayEndsHour for Scheduler
Answered: You can hide non-business hours quite easily: http://www.daypilot.org/demo/Scheduler/HideNonBusiness.aspx Alternatively, you can handle the BeforeTimeHeaderRender event and set e.Visible based on the...
Active Area not working properly in IE
Hi, The Active Area javascript setting not working properly in IE. I tried the online sample http://www.daypilot.org/demo/Scheduler/ActiveAreas.aspx in IE 8 ( version: 8.0.7601.17514) and Google Chro...
Column for Aggregate/Calculated values in scheduler
Answered: At this moment it's only possible to add a new column on the left side of the main area (in addition to the column that you are already displaying). See also: http://www.daypilot.org/scheduler-row-he...
How to customize resource column value programmatically
Answered: You can access the Resource columns directly using Resource.Column collection:
DayPilotScheduler1.Resources[0].Columns[0].InnerHTML = "Room #12123";
Can I preload the Scheduler to remove the delay in events appearing when scrolling?
Answered: You can disable the progressive event rendering by using the following switch in the config: DynamicEventRendering = DynamicEventRenderingType.Disabled It will behave like this demo (WebForms): http:...
How do I adjust the header row time format in the Scheduler?
Answered: You can customize the header strings by overriding OnBeforeTimeHeader method. Just set e.InnerHtml as needed:
protected override void OnBeforeTimeHeaderRender(BeforeTimeHeaderRenderArgs...
How do I hook into when the user clicks a date in the Navigator?
Answered: You need to handle TimeRangeSelected event manually:
TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.JavaScript,
TimeRangeSelectedJavaScript = "yourHandler(start, end);"
If you want to...
How to print multiple scheduler controls?
I have 7 scheduler controls on my page. I need to be able to print all 7 together. Is there a way to do this?
Prevent event overlapping
Hello, I have seen two questions regarding this on the forum and the feature was supposed to be build in in 2011. Any news on that? How can I prevent my event from overlapping during TimeRangeSelecti...
Tree Resources - "htmlfile" invalid argument
Hello, As soon as I try to put my resources in a tree, I get a 'htmlfile': invalid argument error for each of my resources. At this exact line: if($m.Columns==null||$m.Columns.length==0){c.colSpan=$0...
Scheduler event with milestones
Answered: In the 7.1 release, it's possible to add custom "active areas" to the event. It's a rectangular area that is displayed when you move the mouse over the event. In order to place the area at the right ...
Scroll to resource (Client-Side)
Answered: Since build 2668 you can do the following:
dps.scrollToResource("C");
You can download the latest build in the sandbox: http://www.daypilot.org/sandbox/ See also: http://www.daypilot.org/daypilot...
Change text content of an event client side?
Answered: There is a set of methods that allow you to set the client-side properties:
e.client.innerHTML("New HTML");
e.client.cssClass("newClass");
e.client.toolTip("New ToolTip");
e.client.backColor("#d...
Refresh single scheduler event from javascript
Answered: Of course I found the answer 10 minutes after posting: use commandCallBack() to initiate the refresh
Prevent date changes in scheduler when dragging
Answered: It's in the plan and it should be available soon - hopefully in the 7.0 release: http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-0.html It will be possible to limit the moving to either h...
ShownonBusiness = false gives erratic behaviour on Sat/Sun?
Answered: OK, just found this link from a few years back: http://kb.daypilot.org/79065/how-to-show-business-hours-on-weekends-in-scheduler/ But do we really have to override like that? It seems like there shou...
Dragging whole events instaid of duration bar.
Hi, I would like to drag by clicking anywhere on the Event (instaid of only the duration bar). Looks like this question has been answerd here: http://forums.daypilot.org/Topic.aspx/1410/click-and-dra...
Events not rendering in Scheduler
Answered: Please check the following guide: http://kb.daypilot.org/101644/events-not-showing-up-in-the-scheduler/ The most important thing to check is that the resource id (Resource.Value) matches the resource...
Scheduler context menu not working
Answered: It's now fixed in build 6.5.2333. See also: http://www.daypilot.org/daypilot-pro-6-6.html Thanks for reporting the bug!
DayPilot Scheduler - Is this possible?
Answered: If the lessons were always inside a CellGroupBy unit (e.g. an hour), you could use smaller units for time cells (e.g. CellDuration=15) and hide some of them: http://www.daypilot.org/scheduler-hiding-...
Click and drag whole event?
Answered: This is controlled by the EventMoveMargin property. You can increase the value as needed. The default value is 5 (pixels).
Scheduler - When does the day end?
Answered: It's now fixed in build 1.0.187. See also: http://java.daypilot.org/daypilot-pro-for-java-1-2/ Thanks for reporting the bug!