| Name |
Desciption |
| Before Move | Function called before a move occurs. |
| Before Remove | Function called before a removal occurs. |
| Disabled | The widget cannot be used. |
| End Time | Attribute for an event's end time. |
| Exclude Weekends | Exclude weekends from the calendar. |
| Group By | TODO. |
| Hidden | Hides the widget from the user. |
| Interval (days) | Attribute for an event's daily interval. |
| Interval (months) | Attribute for an event's monthly interval. |
| Interval (weeks) | Attribute for an event's weekly interval. |
| Interval (years) | Attribute for an event's yearly interval. |
| Interval Exceptions | Relation to use for exceptions in an event's recurring interval. |
| Length (repeating events) | The length (in hours) of repeating events. |
| Maximize | Set this widget to be maximized (take up all available space). |
| Model Name | Model for the resource calendar's data. |
| Query | Query for the resource calendar's data. |
| Render Function | Function for rendering custom HTML for showing an event. |
| Replace Time | The start time of the event to replace with the exception. |
| Resource | Relation to the resource to show. |
| Resource Function | Function for rendering custom HTMl for showing a resource. |
| Resource Query | Query for the resource calendar's resources. |
| Start Time | Attribute for an event's start time. |
| Tab Index | The Tab Index is an integer that tells the order of the widget when using the tab-key to move from one widget to another. |
| Title Attribute | Attribute for an event's title. |
| Name |
Desciption |
| Background-color | Change background color of the widget. |
| Body border color | The border color for the main panel. |
| Color | Color of the text inside the widgets. May not apply to all text inside all widgets. |
| Event background color | The background color for the event indicator in the calendar. |
| Event border color | The border color for the event indicator in thee calendar. |
| Event text color | The text color for the event highlight area. |
| Font Size | Set the font size in pixels for text. |
| Sidebar background color | The sidebar background color for the panel in the resource calendar. |
| Sidebar border color | The border color for the side panel. |
| Sidebar text color | The text color for the side panel in resource calendar. |
| Sidebar text size | The text font size for side bar panel in resource calendar. |
| Sidebar text style | Chose text case style for the text in side panel. |
| Text-alignment | Set left, centered or right. Applies both to icon and text. |
getCalendarEventManager
(
)
getActiveCell
(
)
→{ Object }
Returns the currently active cell.
Returns
The currently active cell.
getSections
(
)
→{ Array }
Returns the sections.
getSelectedDate
(
)
→{ Date }
Returns the currently selected date.
Returns
The currently selected date.
gotoDate
(
date: Date )
Selects the specified date in the calendar.
Parameters
| Name |
Type |
Description |
| date |
Date |
The date to select. |
nextWeek
(
)
Displays the next week.
previousWeek
(
)
Displays the previous week
refresh
(
includeSections: Boolean
)
Refreshes the calendar
Parameters
| Name |
Type |
Description |
| includeSections |
Boolean
|
If true, also refreshes the sections. |
today
(
)
Displays today.
blur
(
)
Triggers the blur event.
focus
(
)
Triggers the focus event.
Gets the value of the specified property.
Parameters
| Name |
Type |
Description |
| name |
String
|
The name of the property. |
Returns
The property's value.
getId
(
)
→{ ID }
Returns the ID of the widget.
Returns
The ID of the widget
Returns the widget's value.
Returns
The widget's value.
hide
(
)
Hides the widget.
Returns true if the widget is enabled.
Returns
True if enabled, otherwise false.
Returns true if the widget is hidden.
Returns
True if hidden, otherwise false.
Sets the value of the specified property.
Parameters
| Name |
Type |
Description |
| name |
String
|
The name of the property. |
| value |
Object
|
The new value. |
setEnabled
(
Enabled: Boolean
)
Enables/disables the widget.
Parameters
| Name |
Type |
Description |
| Enabled |
Boolean
|
True to enable the widget, false to disable. |
setStyle
(
Object: Object
)
Set the widget-style
Parameters
| Name |
Type |
Description |
| Object |
Object
|
properties |
setValue
(
value: Object
)
Sets the widget's value.
Parameters
| Name |
Type |
Description |
| value |
Object
|
The new value. |
show
(
)
Shows the widget.