The list below describes past changes and additions to JPlanner:
JSON compatibility fixes.
The library now includes several standard forms for editing object properties. AppointmentForm can be used to create or edit Appointment instances, respectively RecurrenceForm for Recurrence instances, and TaskForm for Task instances. All forms can be localized by passing a LocalizationInfo object to their constructor. The Tutorial3 example now demonstrates appointment and recurrence forms.
ItemListView is a toolbox-alike control. It displays a list of prototype schedule items, and lets user create new items based on them by drag-and-drop. ItemListView can contain instances of any Item-derived class.
The following changes to the control's API have been introduced:
The List view can now display an additional header and a footer. To turn them on, set the appropriate flag to the HeaderStyle property of the ListViewSettings class. The FooterFormat and MainHeaderFormat properties let you customize the text in the respective header. The text can also be customized through the customizeText method of the CalendarListener interface. The size of the headers can be specified through the MainHeaderSize and FooterSize properties.
There is no separate trial build of the control anymore. Instead, use the setLicenseKey method of the Calendar control to disable the component's evaluation mode and stop displaying trial messages. License key strings are listed on the Keys & Downloads page at MindFusion's customer portal.
Recurrences can be rescheduled interactively by holding down the key specified by RescheduleRecurrenceKey while dragging a recurrent item. The control tries to preserve the current pattern of the recurrence when possible. Otherwise, the recurrence may be modified to accommodate to the new start and end times of the modified item. Interactive rescheduling is not registered in the undo history.
A new built-in theme is available in JPlanner – the Light theme. Preview of this theme is available in JPlanner Themes.
Several new members have been added to the control:
The new Glass and Aero visual effects can be applied to items. To apply an effect, create an instance of one of the effect classes, set up its properties, then add the instance to the Calendar.ItemEffects collection. Currently, there are two effect types available – AeroEffect and GlassEffect. Effects can be added, removed or modified at any time and this will immediately reflect on the calendar. Effects of different types can be applied simultaneously. It is also possible to apply more than one effect of the same type. For more information about effects, visit the Item Effects topic.
Custom grouping represents the ability to specify the secondary resources individually for each primary resource. This can be done through the new customizeGrouping event. Grouping can now also be enabled by the runtime type of resources, rather than just the four predefined categories. For more information, check the Grouping topic.