FullCalendar

Wisej.Web.Ext.FullCalendar.FullCalendar

Namespace: Wisej.Web.Ext.FullCalendar

Assembly: Wisej.Web.Ext.FullCalendar (3.2.0.0)

FullCalendar is a drag-n-drop widget for displaying events on a full-sized calendar based on the open-source fullcalendar.io. See http://fullcalendar.io/.

public class FullCalendar : Widget, IWisejDataStore

The FullCalendar JavaScript component is developed by Adam Shaw and released under the MIT license: http://fullcalendar.io/license/.

Constructors

Constructs a new instance of the FullCalendar control.

Properties

Boolean: Determines if the "all-day" slot is displayed at the top of the calendar. (Default: True)

String: Returns or sets the text titling the "all-day" slot at the top of the calendar.

BusinessHours[]: Emphasizes certain time slots on the calendar. By default, Monday-Friday, 9am-5pm. (Default: null)

DateTime: Returns or sets the current value that is used by the FullCalendar to display the current view.

Boolean: Determines whether the events on the calendar can be modified. (Default: True)

Color: Sets the background color for all events in the calendar. (Default: Color [Empty])

Color: Sets the border color for all events on the calendar. (Default: Color [Empty])

Int32: Limits the number of events displayed on a day. (Default: 0)

When there are too many events, a link that looks like "+2 more" is displayed. The exact action that happens when the user clicks the link is determined by EventLimitClick.

EventCollection: Returns the collection of Event managed by this FullCalendar control.

Color: Sets the border color for all events on the calendar. (Default: Color [Empty])

Day: Returns or sets the first day of the week as displayed in the FullCalendar. (Default: Default)

ColumnHeaderFormats: Determines the formatting of the column headers in the different views using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.

String: Overridden to create our initialization script.

TimeSpan: Determines the end time (exclusively) that will be displayed, even when the scrollbars have been scrolled all the way down.

TimeSpan: Determines the starting time that will be displayed, even when the scrollbars have been scrolled all the way up.

TimeSpan: Determines the next-day threshold time.

When an event's end time spans into another day, this is the minimum time it must be in order for it to render as if it were on that day. Only affects timed events that appear on whole-days. Whole-day cells occur in month view, basicDay, basicWeek and the all-day slots in the agenda views.

String: Returns or sets the message to display in one of the list views when there are no events to display.

Object: Overridden, not used.

List<Package>: Overridden to return our list of script resources.

String: Determines the width of the area that contains the list of resources. Requires the SchedulerLicenseKey to be set to a valid license or to a GPL or CC license. (Default: "30%")

String: Returns or sets the text that will appear above the list of resources. Requires the SchedulerLicenseKey to be set to a valid license or to a GPL or CC license. (Default: "Resources")

Resource[]: Returns or sets the scheduler resources. Requires the SchedulerLicenseKey to be set to a valid license or to a GPL or CC license. (Default: null)

String: License key for the scheduler plug-in. See scheduler. (Default: "")

Use "GPL-My-Project-Is-Open-Source" for GPL projects, or "CC-Attribution-NonCommercial-NoDerivatives" for non commercial projects.

TimeSpan: Determines how far down the scroll pane is initially scrolled down.

Boolean: Determines whether or not to display a marker indicating the current time. (Default: True)

TimeSpan: Determines the frequency for displaying time slots.

Boolean: Determines if timed events in agenda view should visually overlap. (Default: True)

String: Determines the time-text that will be displayed on the vertical axis of the agenda views using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.

TimeSpan: Determines how often the time-axis is labeled with text displaying the date/time of slots..

If not specified, this value is automatically computed from slotDuration. With slotDuration's default value of 30 minutes, this value will be 1 hour.

ThemeSystem: Determines the theme system used by the calendar. (Default: Standard)

The ThemeSystem property can be one of these values:

  • Standard Renders the built-in look & feel.

  • Bootstrap3 Supports Bootstrap 3 themes.The Bootstrap CSS file must be loaded separately in its own link tag.

  • jQueryUI Supports jQuery UI themes. The jQuery UI CSS file must be loaded separately loaded in its own link tag.

String: Determines the time-text that will be displayed on each event using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/. (Default: null)

Sets time format to display on the events.


  this.TimeFormat = "h:mm"; // shows 5:00
  this.TimeFormat = "h(:mm)t"; // shows 5p

DateTime: Returns or sets the value that is used by FullCalendar as today's date.

ViewType: Determines which view the calendar uses to display the events. (Default: Month)

Int32: Returns or sets the number of Event objects contained in the list when in virtual mode. (Default: 0)

Throws:

Methods

Moves the calendar to an arbitrary date.

ParameterTypeDescription

dateTime

The date to set the calendar view to.

Moves the calendar one step forward (either by a month, week, or day).

If the calendar is in month view, will move the calendar forward one month. If the calendar is in basicWeek or agendaWeek, will move the calendar forward one week. If the calendar is in basicDay or agendaDay, will move the calendar forward one day.

Moves the calendar forward one year.

Moves the calendar one step back (either by a month, week, or day).

If the calendar is in month view, will move the calendar back one month. If the calendar is in basicWeek or agendaWeek, will move the calendar back one week. If the calendar is in basicDay or agendaDay, will move the calendar back one day.

Moves the calendar back one year.

Moves the calendar to the current date.

Events

EventHandler Triggered when the current date used to display the calendar view is changed.

DayClickEventHandler Triggered when the user clicks a day in the calendar.

DayClickEventHandler Triggered when the user double clicks a day in the calendar.

EventValueEventHandler Triggered when the user changed (dragged or resized) an Event object.

EventClickEventHandler Triggered when the user clicks an event.

EventClickEventHandler Triggered when the user double clicks an event.

ItemDropEventHandler Triggered when the user drops an object on the calendar.

ResourceEventHandler Triggered when the a Resource object changes.

RetrieveVirtualEventEventHandler Triggered when VirtualMode is true and the control needs to retrieve a specific virtual event instance.

VirtualEventsNeededEventHandler Triggered when VirtualMode is true and the control needs to populate the events on a certain date, week or month.

The application should manage and cache the events that are returned in response to this event.

Last updated