GanttViewBuilder
Methods
Date(System.DateTime)
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.
Parameters
value - System.DateTime
The value for Date
RETURNS
Returns the current GanttViewBuilder instance.
Range(System.Action)
Configures the view range settings.
Parameters
configurator - System.Action<GanttViewRangeSettingsBuilder>
The configurator for the range setting.
RETURNS
Returns the current instance of GanttViewBuilder .
Selected(System.Boolean)
If set to true the view will be initially selected by the Gantt widget. The default selected view is "day".
Parameters
value - System.Boolean
The value for Selected
RETURNS
Returns the current GanttViewBuilder instance.
Selected()
If set to true the view will be initially selected by the Gantt widget. The default selected view is "day".
RETURNS
Returns the current GanttViewBuilder instance.
SlotSize(System.Double)
The size of the time slot headers. Values are treated as pixels.
Parameters
value - System.Double
The value for SlotSize
RETURNS
Returns the current GanttViewBuilder instance.
TimeHeaderTemplate(System.String)
The template used to render the time slots in "day" view
Parameters
value - System.String
The value for TimeHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
TimeHeaderTemplateId(System.String)
The template used to render the time slots in "day" view
Parameters
templateId - System.String
The ID of the template element for TimeHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
TimeHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template used to render the time slots in "day" view
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for TimeHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
TimeHeaderTemplateHandler(System.String)
The template used to render the time slots in "day" view
Parameters
templateHandler - System.String
The handler that returs the template for TimeHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
TimeHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)
The template used to render the time slots in "day" view
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the timeheadertemplate.
RETURNS
Returns the current GanttViewBuilder instance.
DayHeaderTemplate(System.String)
The template used to render the day slots in "day" and "week" views.
Parameters
value - System.String
The value for DayHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
DayHeaderTemplateId(System.String)
The template used to render the day slots in "day" and "week" views.
Parameters
templateId - System.String
The ID of the template element for DayHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
DayHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template used to render the day slots in "day" and "week" views.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for DayHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
DayHeaderTemplateHandler(System.String)
The template used to render the day slots in "day" and "week" views.
Parameters
templateHandler - System.String
The handler that returs the template for DayHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
DayHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)
The template used to render the day slots in "day" and "week" views.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the dayheadertemplate.
RETURNS
Returns the current GanttViewBuilder instance.
WeekHeaderTemplate(System.String)
The template used to render the week slots in "week" and "month" views.
Parameters
value - System.String
The value for WeekHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
WeekHeaderTemplateId(System.String)
The template used to render the week slots in "week" and "month" views.
Parameters
templateId - System.String
The ID of the template element for WeekHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
WeekHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template used to render the week slots in "week" and "month" views.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for WeekHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
WeekHeaderTemplateHandler(System.String)
The template used to render the week slots in "week" and "month" views.
Parameters
templateHandler - System.String
The handler that returs the template for WeekHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
WeekHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)
The template used to render the week slots in "week" and "month" views.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the weekheadertemplate.
RETURNS
Returns the current GanttViewBuilder instance.
MonthHeaderTemplate(System.String)
The template used to render the month slots in "month" and "year" views.
Parameters
value - System.String
The value for MonthHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
MonthHeaderTemplateId(System.String)
The template used to render the month slots in "month" and "year" views.
Parameters
templateId - System.String
The ID of the template element for MonthHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
MonthHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template used to render the month slots in "month" and "year" views.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for MonthHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
MonthHeaderTemplateHandler(System.String)
The template used to render the month slots in "month" and "year" views.
Parameters
templateHandler - System.String
The handler that returs the template for MonthHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
MonthHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)
The template used to render the month slots in "month" and "year" views.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the monthheadertemplate.
RETURNS
Returns the current GanttViewBuilder instance.
YearHeaderTemplate(System.String)
The template used to render the year slots in "year" view.
Parameters
value - System.String
The value for YearHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
YearHeaderTemplateId(System.String)
The template used to render the year slots in "year" view.
Parameters
templateId - System.String
The ID of the template element for YearHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
YearHeaderTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)
The template used to render the year slots in "year" view.
Parameters
templateView - Microsoft.AspNetCore.Html.IHtmlContent
The view that contains the template for YearHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
YearHeaderTemplateHandler(System.String)
The template used to render the year slots in "year" view.
Parameters
templateHandler - System.String
The handler that returs the template for YearHeaderTemplate
RETURNS
Returns the current GanttViewBuilder instance.
YearHeaderTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)
The template used to render the year slots in "year" view.
Parameters
template - TemplateBuilder<TModel>
A Template component that configures the yearheadertemplate.
RETURNS
Returns the current GanttViewBuilder instance.
ResizeTooltipFormat(System.String)
The format used to display the start and end dates in the resize tooltip.
Parameters
value - System.String
The value for ResizeTooltipFormat
RETURNS
Returns the current GanttViewBuilder instance.
Type(Kendo.Mvc.UI.GanttViewType)
The view type. Supported types are "day", "week", "month" and "year".
Parameters
value - GanttViewType
The value for Type
RETURNS
Returns the current GanttViewBuilder instance.