New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Constructors

C#
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.

C#
public DateTime? Date { get; set; }

The template used to render the day slots in "day" and "week" views.

C#
public string DayHeaderTemplate { get; set; }

The handler for the DayHeaderTemplate

C#
public string DayHeaderTemplateHandler { get; set; }

The id for the DayHeaderTemplate

C#
public string DayHeaderTemplateId { get; set; }

The template used to render the month slots in "month" and "year" views.

C#
public string MonthHeaderTemplate { get; set; }

The handler for the MonthHeaderTemplate

C#
public string MonthHeaderTemplateHandler { get; set; }

The id for the MonthHeaderTemplate

C#
public string MonthHeaderTemplateId { get; set; }

Configures the view range settings.

C#
public GanttViewRangeSettings Range { get; set; }

The format used to display the start and end dates in the resize tooltip.

C#
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".

C#
public bool? Selected { get; set; }

The size of the time slot headers. Values are treated as pixels.

C#
public double? SlotSize { get; set; }

The template used to render the time slots in "day" view

C#
public string TimeHeaderTemplate { get; set; }

The handler for the TimeHeaderTemplate

C#
public string TimeHeaderTemplateHandler { get; set; }

The id for the TimeHeaderTemplate

C#
public string TimeHeaderTemplateId { get; set; }

The view type. Supported types are "day", "week", "month" and "year".

C#
public GanttViewType? Type { get; set; }

The template used to render the week slots in "week" and "month" views.

C#
public string WeekHeaderTemplate { get; set; }

The handler for the WeekHeaderTemplate

C#
public string WeekHeaderTemplateHandler { get; set; }

The id for the WeekHeaderTemplate

C#
public string WeekHeaderTemplateId { get; set; }

The template used to render the year slots in "year" view.

C#
public string YearHeaderTemplate { get; set; }

The handler for the YearHeaderTemplate

C#
public string YearHeaderTemplateHandler { get; set; }

The id for the YearHeaderTemplate

C#
public string YearHeaderTemplateId { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)