Calendar Options
From Lianjapedia
Revision as of 07:38, 4 June 2015 by Yvonne.milne (Talk | contribs)
Under Construction
Attribute | Description | |||||
---|---|---|---|---|---|---|
Default view | The default view to be displayed (Month | Week | Day) | |||||
Event type column | The (character) event type column from the table for the events in the calendar. Defaults to 'eventtype'. | |||||
Event type choices | The event type choices for the events in the calendar. This can be a comma separated list or a SQL statement. | |||||
Event title column | The (character) event title column from the table. Defaults to 'eventtitle'. | |||||
Event start column | The (datetime) event start column from the table. Defaults to 'eventstart'. | |||||
Event end column | The (datetime) event end column from the table. Defaults to 'eventend'. | |||||
Event repeat column | The (int) event repeating flag column from the table. Defaults to 'eventrepeat'. | |||||
Event allday column | The (logical) event allday flag column from the table. Defaults to 'eventallday'. | |||||
Event key column | The key expression for events in the calendar. Defaults to 'eventkey'. | |||||
Event type value | The event type for this calendar, e.g. meeting, vacation, appointment. Calendar contents will be filtered on this. | |||||
Autosize | Autosize the calendar into the viewport (True | False) | |||||
Other options | Other calendar options | |||||
Click delegate | Delegate to call when a calendar event is clicked | |||||
Dynamic day backcolor | Delegate to return the background colors and dates. You should return this as a comma separated list. The delegate is called with one parameter: 'dates' or 'colors'. The currently selected cursor contains the selected records. | |||||
Dynamic event backcolor | Delegate to return the background color of the event for the specified event type, which is passed as a parameter | |||||
Dynamic event forecolor | Delegate to return the foreground color of the event for the specified event type, which is passed as a parameter | |||||
Custom delegate library | Custom library containing the day and event dynamic color delegates | |||||
Filter | The filter expression that restricts which events will be included in the calendar |