Released on September 3, 2007 (build 1172).
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).
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:
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.
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% |
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:
Common