Skip to content
DayPilot

DayPilot Pro 4.0

Released on September 3, 2007 (build 1172).

Features

(F) DayPilot Vertical control replaced by DayPilot Scheduler

DayPilot Scheduler started as an improved alternative to DayPilot Vertical in Resources mode (it brought extended time range, date switching including time "zooming", grouped column headers, etc.). In DayPilot Pro 4.0, the Days mode was ported to DayPilot Scheduler making DayPilot Vertical obsolete. DayPilot Vertical was removed from the package (all its features are available in DayPilot Scheduler control).

(F10) All day events (DayPilot Calendar)

All day events appear in a new line that is be inserted between the days/column headers and the scrolling area.

Rendering rules:

The start and end date values of the sample events:

Event 12:

Event 13:

All-day events API

DataAllDayField property: Specify the data source column that contains true for all-day events.

ShowAllDayEvents property: Set to true to activate the row that shows all-day events.

AllDayEventHeight property: Set the height of the all-day event box in pixels.

Limitations

(F44) AJAX events refresh optimization (DayPilot Calendar & DayPilot Scheduler)

The event updating code was completely redesigned. In previous versions, fully prepared HTML code was sent from the server. This solution was convenient but not too efficient. A lot of redundant HTML code (mostly style declarations) was sent back during updates.

DayPilot Pro 4.0 uses JSON (http://www.json.org) as the data format. Only the necessary event data are sent to the client and the HTML code is rendered on the client side using JavaScript. It was a great improvement for both controls but it will be especially useful for DayPilot Scheduler that is used to show many events.

There are two kinds of AJAX updates (not including ASP.NET AJAX UpdatePanel partial PostBack):

Events update callback
Callback HTTP response Content-Length (in bytes) after event moving at http://www.daypilot.org/demo/Calendar/  and http://www.daypilot.org/demo/Scheduler/.

Version 3.9 Version 4.0 Improvement
DayPilot Calendar 23,744 B 12,806 B -46%
DayPilot Scheduler 17,666 B 11,457 B -35%


Refresh callback
Callback HTTP response Content-Length (in bytes) after zooming at http://www.daypilot.org/demo/Scheduler/ and after "Next week" click at http://www.daypilot.org/demo/Calendar/.

Version 3.9 Version 4.0 Improvement
DayPilot Calendar 29,145 B 14,490 B -50%
DayPilot Scheduler 36,419 B 28,997 B -20%

(F46) Days property changing using AJAX/Refresh event (DayPilot Calendar)

The refreshCallBack() client-side method was extended to support changing the Days property as well (in addition to StartDate).

DayPilotCalendar.Calendar.refreshCallBack(start, days)

start parameter accepts:

days parameter accepts:

Examples:

Fixes

API changes

DayPilot Scheduler

DayPilot Calendar

Common