ui.igScheduler

ui.igScheduler_image

The igScheduler control provides a common scheduling solution for presenting and managing time periods and the associated activities.

The following code snippet demonstrates how to initialize the igScheduler control.

Click here for more information on how to get started using this API. For details on how to reference the required scripts and themes for the igScheduler control read, Using JavaScript Resources in Ignite UI and Styling and Theming Ignite UI.

Code Sample

<!doctype html>
  <html>
  <head>
  <!-- Infragistics Combined CSS -->
  <link href="css/themes/infragistics/infragistics.theme.css" rel="stylesheet" type="text/css" />
  <link href="css/structure/infragistics.css" rel="stylesheet" type="text/css" />
  <!-- jQuery Core -->
  <script src="js/modernizr.min.js"></script>
  <script src="js/jquery.min.js"></script>
  <!-- jQuery UI -->
  <script src="js/jquery-ui.min.js" type="text/javascript"></script>
  <!-- Infragistics Scripts -->
  <script src="igniteui/js/infragistics.loader.js" type="text/javascript"></script>
        <script src="data-files/scheduler-data.js" type="text/javascript"></script>
  <script type="text/javascript">
          $.ig.loader({
            scriptPath: "../../igniteui/js/",
            cssPath: "../../igniteui/css/",
            resources: "igScheduler"
        });
 
        $.ig.loader(function () {
            var scheduleListDataSource = new $.ig.scheduler.ScheduleListDataSource(),
                  appointmentsDS = new $.ig.DataSource({
                      primaryKey: "id",
                      dataSource: appointments
                  });
 
            appointmentsDS.dataBind();
 
            scheduleListDataSource.resourceItemsSource(resources);
            scheduleListDataSource.appointmentItemsSource(appointmentsDS);
 
            $("#scheduler").igScheduler({
                height: "550px",
                width: "100%",
                agendaViewSettings: {
                    dateRangeInterval: 10
                },
                views: ["agendaView"],
                selectedDate: today,
                dataSource: scheduleListDataSource
            });
        });
  </script>
  </head>
  <body>
      <div id="scheduler"></div>
  </body>
  </html>

Related Samples

Related Topics

Dependencies

jquery-1.9.1.js
jquery.ui.core.js
jquery.ui.widget.js
intl.js
infragistics.templating.js
infragistics.util.js
infragistics.util.jquery.js
infragistics.ui.scroll.js
infragistics.ext_core.js
infragistics.ext_text.js
infragistics.ext_collections.js
infragistics.ext_io.js
infragistics.ext_ui.js
infragistics.ext_collectionsextended.js
infragistics.ext_threading.js
infragistics.ext_web.js
infragistics.xml.js
infragistics.dv_core.js
infragistics.dv_jquerydom.js
infragistics.datasource.js
infragistics.ui.widget.js
infragistics.scheduler.core.js
infragistics.ui.scheduler.core.js
infragistics.ui.shared.js
infragistics.ui.popover.js
infragistics.ui.validator.js
infragistics.ui.notifier.js
infragistics.ui.editors.js
infragistics.ui.combo.js

Inherits

Copyright © 1996 - 2025 Infragistics, Inc. All rights reserved.