All docs
V19.2
19.2
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttSettings.DataBinding Property

Allows you to perform custom actions before a Gantt is bound to a data source.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public EventHandler DataBinding { get; set; }
Public Property DataBinding As EventHandler

Property Value

Type Description
EventHandler

A delegate method that allows you to implement custom processing.

Remarks

settings.DataBinding = (sender, e) => { 
  MVCxGantt gantt = (MVCxGantt)sender; 
  gantt.SettingsGanttView.ViewType = GanttViewType.Weeks;
  ...
}
See Also