Version

igScheduler Overview

Purpose

This topic provides conceptual information for the igScheduler™ control including information regarding: features, configuration, requirements and theming.

In this topic

This topic contains the following sections:

Required background

The table below lists the required background you need for fully understanding the information in this topic.

Topics

You need to first read the following topics:

External Resources

You need to first read the following article: Working with jQuery Widgets

Minimum Requirements

Introduction

The igScheduler control is a jQuery UI Widget and therefore is dependent upon the jQuery core and jQuery UI JavaScript libraries. In addition, there are several Ignite UI for jQuery™ JavaScript resources that the igScheduler control uses for shared functionality and data binding. These JavaScript references are required whether the igScheduler control is used in a pure JavaScript context.

Requirements

The table below lists the requirements for the igScheduler control.

Requirement Description
jQuery and jQuery UI JavaScript resources Ignite UI for jQuery is built on top of these frameworks:
  • jQuery (The required jQuery version for igScheduler is 1.8.3)
  • jQuery UI (The required jQuery UI version for igScheduler is 1.9.2)
Shared Ignite UI for jQuery JavaScript resources There are several shared JavaScript resources in Ignite UI for jQuery that most widgets use:
  • infragistics.util.js
  • infragistics.util.jquery.js
igDataSource JavaScript Resources The igScheduler uses the igDataSource for data operations:
  • infragistics.dataSource.js
igScheduler JavaScript resources The JavaScript file for the igScheduler widget:
  • infragistics.ui.scheduler.js
IG Theme This theme contains custom visual styles created especially for Ignite UI for jQuery
Base Theme The base theme contains styles that primarily define the form and function for each widget.

Main Features

Features overview

The table below briefly explains the main features of the igScheduler.

Feature Description
Views Тhe igScheduler can be configured to use agenda, month, week or day view, together and separately.
Activities The activities are used to represent an event which start at a specific time and ends at a specific time

Views

The igScheduler control can be configured to present calendar information in different ways called "views". The view type can be configured using views and viewMode options.

$("#scheduler").igScheduler({
    height: "100%",
    width: "100%",
    views: ["month", "agenda", "week", "day"],
    viewMode: "monthView"
});

Agenda View

The agenda view of the igScheduler is visualizing the activities which occur during a specific time range. Activities are presented in the agenda view with their subject, location and times. If an activity has a resource associated with it and the resource has a color scheme set, this color will be used for drawing the vertical separator between the activity’s time and activity’s subject.

The following image shows the agenda view along with its visual elements:

  1. Day Header

  2. Activity subject

  3. Activity location

  4. Separator drawn using the associated resource’s color

  5. Activity start time (available if the activity is starting during the particular day)

  6. Activity end time (available if the activity is ending during the particular day)

Month View

The month view of the igScheduler is visualizing the days of an entire month. Each day is represented by a cell which may contain up to three activities. The month view also has the concept of the "selected day" which is displayed using different styling (foreground color, background color, font size or font style).

The following screenshot shows the month view along with its visual elements:

  1. Month header (containing current month and year)

  2. Day of week header

  3. Week number

  4. Leading days (from previous month)

  5. Trailing days (from next month)

  6. Current day (displayed with different style)

  7. Activity indicators. There indicators are rendered on days occupied with activities. Up to three activities indicators are rendered. The indicators are using the color set on the associated resource.

  8. Current month days

The following screenshot shows the month view combined with agenda view with its visual elements:

  1. Activity’s subject

  2. Activity’s location

  3. The resource’s color associated with this activity

  4. The time associated with this activity

Week View

The Week View of the igScheduler is visualizing all seven week days based on the currently selected day. This view contains time-slot segments with same length and different height based on the time range of the appointment.

The following screenshot shows the Week View along with its visual elements:

  1. Navigation Header

  2. Time slots

  3. Day headers

  4. Activities in the time slots

The following properties could be used in order to configure different week view aspects and behaviors:

  • weekViewDisplayMode - Display mode. The week view can be configured to show all 7 week days or only the days configured as working days.

  • timeSlotInterval - Time slot duration. Configure the time slots' duration. Currently 5, 6, 10, 15, 30 and 60 minutes are supported.

  • workingHoursDisplayMode - Working days and hours. You can configure this view to display only working hours or all 24 hours.

Day View

Shows hour-based view of the selected day, the hours are listed vertically going from top to bottom. This view contains time-slot segments with same length and different height based on the time range of the appointment.

The following screenshot shows the Day View along with its visual elements:

  1. Navigation Header

  2. Time slots

  3. Day headers

  4. Activities in the time slots

The following properties could be used in order to configure different day view aspects and behaviors:

  • dayViewDisplayMode - Visible days. You can control how many days are visible at a time in the day view. Currently between 1 and 7 days are supported.

  • timeSlotInterval - Time slot duration. Configure the time slots' duration. Currently 5, 6, 10, 15, 30 and 60 minutes are supported.

  • workingHoursDisplayMode - Working days and hours. You can configure this view to display only working hours or all 24 hours.

    Topics

  • Adding igScheduler

Related Sample

Activities

This section provide information about the activities concept of the igScheduler control.

The activities are used to represent an event which start at a specific time and ends at a specific time.

Appointments

Activities occur during a range of time with a duration of several hours, several days or even more.

The following table lists the Appointment's key properties and their purpose:

Field Purpose
Subject Used as short description of the activity, it is the main information shown in the control’s views and therefore used to distinguish a specific activity amongst the other activities.
Location Used to store the location where the activity takes place.
From Contains the start date and time of the activity.
To Contains the end date and time of the activity.
Resource Used to obtain the resource associated with the current activity. Color scheme is used to highlight the activities associated with this resource.
Description Provide more information about the appointment.

Related Sample

Binding to Data Sources

Binding to data sources overview

The dataSource and resources options of the igScheduler are required for the data binding. Each option need to be assigned an array that is holding the corresponding appointments or resources collection. Please refer to the Configure appointments and Configure resources topics for a more detailed overview.

Related Topics

Following are some other topics you may find useful.

View on GitHub