All Questions

how to resolve when a range time display too many events ?

Answered: I assume you mean the Calendar control: http://doc.daypilot.org/calendar/ You can play with the event arrangement mode settigs to see if it helps with the visibility of a lot of overlapping events: h...

Disable parent resources from showing child events

Answered: The parent resources don't display events that belong to the child resources. However, a resource will display events that belong to another resource if: the resource ID is the same the resource ID i...

Format column content in Gantt

Answered: You should use e.Columns[1].Html to modify the second column HTML. An example from the Project Management ASP.NET tutorial: http://code.daypilot.org/64294/asp-net-gantt-project-management protected v...

How to set a special color for actual date in Gantt?

Answered: There are two options: 1. You can add a separator: DayPilotGantt1.Separators.Add(DateTime.Today, Color.Red); 2. You can change the background color of the cells: protected void DayPilotGantt1_BeforeC...

Click events not firing in chrome

Answered: I have tried this on a few other computer and the issue seems to be isolated to one specific computer. The issue appears to be machine specific and not a problem with the scripts. JD

ShiftScheduling tutorial

Answered: It works like this: 1. When you use EventClickHandling="JavaScript" the Scheduler will fire the JavaScript code specified using EventClikJavaScript property. 2. It will pass "e" object to the JavaScr...

api version

Answered: The ASP.NET WebForms version uses API v1 and it can't be changed. The selected api affects how the client-side events are processed. For api=1 only one event is fired for every action, depending on t...

Event Bubble

I am trying to have event bubble in day pilot scheduler. Which has a content of title, description and a image thumbnail. But the positioning is not happening correctly when i have this on the contro...

DayPilot - Scheduler Javascript

I am trying applying fore and back color for the message bar of scheduler based on success and error scenarios by using the method, but it not overriding the css we have for message bar. Please fix t...

Last column Header Lower

I have a possible bug/issue with DayPilot 8.1 where the text in the last cell of the header barely appears. I have been tweaking and adjusting the config in angular directive + $scope.config to get i...

How To Redirect To URL By Clicking Event

Answered: Use the following config: @(Html.DayPilotCalendar("dpc", new DayPilotCalendarConfig { // ... EventClickHandling = EventClickHandlingType.JavaScript, EventClickJavaScript = "window.location.href = 'Ed...

Use Custom JSON Object in resource

Answered: The scheduler .resources property requires this exact structure. See also: http://api.daypilot.org/daypilot-scheduler-resources/ If your server returns JSON array that has items with a different stru...

Target cell based on event type?

Answered: You can use onBeforeCellRender event like this: //... dp.onBeforeCellRender = function(args) { var events = dp.events.forRange(args.cell.start, args.cell.end); // check events array for event types.....

All day events on month view

Answered: The month view (DayPilot.Month class) doesn't recognize all-day events because they are displayed the same way as normal events. Unlike the Calendar which displays them in a special row below the day...

Resource Header Width

Answered: Hi. Yes, You were right! With the new version everything works fine. Now, do I have to buy a new license?

DayPilotBubble's CSS is not accepting at run time

Answered: This happens because the bubble object is initialized in Load phase. It's now updated in the the latest build (8.1.3472). You can download it in the sandbox: http://www.daypilot.org/sandbox/ Let me k...

Saturday et sunday in gantt chart

Answered: It is possible to hide Saturdays and Sundays by creating a custom timeline: http://doc.daypilot.org/gantt/timeline/ This way you can create a timeline that includes only the workdays. If you want to ...

Getting tag URL Parameter from JSON Request

Answered: There are two options: 1. You can send the url from the server: class Event {} class Tags {} $events = array(); foreach($result as $row) { $e = new Event(); $e->id = $row['plan_id']; $e->text = $row[...

Change cell border color in scheduler?

Answered: The direct style properties are ignored in the CssOnly mode (the CssOnly mode is forced since 8.0 release): http://api.daypilot.org/daypilot-scheduler-cssonly/ You can control the cell border using C...