Config

autoloadenableDrageventItemsextParam
heightquickAddUrlquickDeleteUrlquickDeleteUrl
quickUpdateUrlshowdayurlview
weekstartday

autoload

Boolean   If event items is empty, and this param is set to true. Event will be retrieved by ajax call right after calendar is initialized.

enableDrag

Boolean   Whether end user can drag event item by mouse.

eventItems

Array   event items for initialization.

extParam

Array   Extra params submitted to server. Sample - [{name:"param1", value:"value1"}, {name:"param2", value:"value2"}]

height

Number   Calendar height, false for page height.

quickAddUrl

String   Url for quick adding.

quickDeleteUrl

String   Url for removing an event.

quickDeleteUrl

String   Url for removing an event.

quickUpdateUrl

String   Url for time span update.

showday

Date   Date of current view.

url

String   Url to request calendar data.

view

String   Three calendar view provided, 'day','week','month'.

weekstartday

Number   First day of week 0 for Sun, 1 for Mon, 2 for Tue.

Method

gotoDatenextRangepreviousRangereload
swtichView

gotoDate(date)

To go to a range containing date. If view is week, it will go to a week containing date. If view is month, it will got to a month containing date.

Datedate. Date to go.

nextRange()

To go to next date range. If view is week, it will go to next week. If view is month, it will got to next month.

previousRange()

To go to previous date range. If view is week, it will go to previous week. If view is month, it will got to previous month.

reload()

To reload event of current time range.

swtichView(view)

To switch to another view.

Stringview View name, one of 'day', 'week', 'month'.

Events

onAfterRequestDataonAfterRequestDataonBeforeRequestData

onAfterRequestData(  stage)

Fired when some errors occur while any ajax request is finished.

Numberstage. 1 for retrieving events, 2 - adding event, 3 - removiing event, 4 - update event.

onAfterRequestData(  stage)

Fired before any ajax request is finished.

Numberstage. 1 for retrieving events, 2 - adding event, 3 - removiing event, 4 - update event.

onBeforeRequestData(  stage)

Fired before any ajax request is sent.

Numberstage. 1 for retrieving events, 2 - adding event, 3 - removiing event, 4 - update event.