Bootstrap Year Calendar

Bootstrap Year Calendar

Specifies whether the user can select a range which overlapping an other element present in the datasource.

Specifies whether the beginning and the end of each datasource should be displayed as half selected day.

Specifies the items of the default context menu. The click event is called with the selected data source element. Each menu item can contain sub-items, which can themselves contain sub-items, etc... Don't forget to enable the enableContextMenu option to be able to use the context menu.

Specify a custom renderer for days. This function is called during render for each day.

Specify a custom renderer for data source. Works only with the style set to "custom". This function is called during render for each day containing at least one event.

The elements that must be displayed on the calendar. The objects present in the array must contain a start date and an end date (and a title if you want to use the default context menu), but they can contain other properties.

The days that must be displayed as disabled.

Specifies whether the weeks number are displayed.

Specifies whether the default context menu must be displayed when right clicking on a day.

Specifies whether the user can make range selection.

The language/culture used for calendar rendering. The implemented language are the following :

To use a language, you need to include the corresponding js file (bootstrap-year-calendar.XX.js or bootstrap-year-calendar.XX.min.js). If the used language contains some special characters, don't forget to use the charset="UTF-8" attribute on the script tag. If a non implemented language is specified, the default language will be used (english).

The date until which days are enabled (user can select dates, etc...). User cannot not access the years after the maximum date.

The date from which days are enabled (user can select dates, etc...). User cannot not access the years before the minimum date.

Specifies whether the beginning and the end of each range should be displayed as rounded cells.

The year on which the calendar should be opened.

Specifies the style used for displaying datasource: border: a colored border is displayed under the number of the day. This option allows to display several elements on a same day. background: a colored background is displayed behind the day. This option allows to display only one element on a same day.

© Bootstrap Year Calendar