Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
   [Expand]Getting Started
   [Collapse]Fundamentals
    [Expand]Scheduler Elements
    [Expand]Scheduler Structure
    [Expand]Appointments
     Resources for Appointments
    [Expand]Views
    [Collapse]Data Binding
     [Collapse]Data Sources
       Microsoft Access Database
       Microsoft SQL Server
       Business Objects
       Entity Framework
       Entity Framework Code First
       eXpress Persistent Objects (XPO)
       XML Data
       Hierarchical Resource Specifics
       Gantt View Specifics
      FetchAppointments Event - Handling Large Datasets
    [Expand]Mappings
    [Expand]Supported Formats
    [Expand]Services
    [Expand]Time Zones
     Printing
    [Expand]Scheduler Reporting
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Gantt View Specifics

The Gantt View requires an additional table containing dependencies between appointments (referred to as 'tasks' in the Gantt view). This table should be mapped to a Scheduler storage in the same way as tables for Appointments and Resources (using the AppointmentDependencyStorage.Mappings property at runtime or the corresponding mappings Wizard at design time).

The ParentId field specifies the ID of the appointment that is at the tail of the dependency arrow. The DependentId field specifies the ID of the appointment that is at the head of the dependency arrow. The Type field holds the AppointmentDependencyType enumeration member.

The following image shows two appointments with ID=22 and ID=23, linked with a FinishToStart dependency. The data record from the TaskDependencies table demonstrates that the appointment with ID=22 is the Parent appointment, the appointment with ID=23 is the Dependent appointment, and the integer value of the AppointmentDependencyType.FinishToStart enumeration is 0.

The MS SQL Server script below enables you to create Appointments, Resources and TaskDependencies tables that contain the required fields.

How would you rate this topic?​​​​​​​