Kendo UI GanttView class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TTaskModel
TDependenciesModel
Syntax:
public class GanttView<TTaskModel, TDependenciesModel> where TTaskModel : class, IGanttTask where TDependenciesModel : class, IGanttDependency
Inheritance: objectGanttView<TTaskModel, TDependenciesModel>
Inherited Members
Constructors
public GanttView()
Properties
If set to some date and it is between the range start and range end of the selected view, the timeline of the currently selected view is scrolled to start from this date.Overrides the date option of the gantt.
public DateTime? Date { get; set; }
The template used to render the day slots in "day" and "week" views.
public string DayHeaderTemplate { get; set; }
The handler that returns the template used for DayHeaderTemplate
public string DayHeaderTemplateHandler { get; set; }
The id of the script element used for DayHeaderTemplate
public string DayHeaderTemplateId { get; set; }
Gantt member.
public Gantt<TTaskModel, TDependenciesModel> Gantt { get; set; }
The template used to render the month slots in "month" and "year" views.
public string MonthHeaderTemplate { get; set; }
The handler that returns the template used for MonthHeaderTemplate
public string MonthHeaderTemplateHandler { get; set; }
The id of the script element used for MonthHeaderTemplate
public string MonthHeaderTemplateId { get; set; }
Range
GanttViewRangeSettings<TTaskModel, TDependenciesModel>
Configures the view range settings.
public GanttViewRangeSettings<TTaskModel, TDependenciesModel> Range { get; }
The format used to display the start and end dates in the resize tooltip.
public string ResizeTooltipFormat { get; set; }
If set to true the view will be initially selected by the Gantt widget. The default selected view is "day".
public bool? Selected { get; set; }
The size of the time slot headers. Values are treated as pixels.
public double? SlotSize { get; set; }
The template used to render the time slots in "day" view
public string TimeHeaderTemplate { get; set; }
The handler that returns the template used for TimeHeaderTemplate
public string TimeHeaderTemplateHandler { get; set; }
The id of the script element used for TimeHeaderTemplate
public string TimeHeaderTemplateId { get; set; }
The view type. Supported types are "day", "week", "month" and "year".
public GanttViewType? Type { get; set; }
The template used to render the week slots in "week" and "month" views.
public string WeekHeaderTemplate { get; set; }
The handler that returns the template used for WeekHeaderTemplate
public string WeekHeaderTemplateHandler { get; set; }
The id of the script element used for WeekHeaderTemplate
public string WeekHeaderTemplateId { get; set; }
The template used to render the year slots in "year" view.
public string YearHeaderTemplate { get; set; }
The handler that returns the template used for YearHeaderTemplate
public string YearHeaderTemplateHandler { get; set; }
The id of the script element used for YearHeaderTemplate
public string YearHeaderTemplateId { get; set; }
Methods
Serialize method.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()