GanttViewTagHelper

Example

Razor
<gantt-view>
    <range />
</gantt-view>

ChildTags

Attributes

AttributeTypeDescription
dateDateTimeIf 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.
day-header-templateStringThe template used to render the day slots in "day" and "week" views.
day-header-template-handlerStringThe template used to render the day slots in "day" and "week" views.
day-header-template-idStringThe template used to render the day slots in "day" and "week" views.
day-header-template-viewIHtmlContentThe template used to render the day slots in "day" and "week" views.
month-header-templateStringThe template used to render the month slots in "month" and "year" views.
month-header-template-handlerStringThe template used to render the month slots in "month" and "year" views.
month-header-template-idStringThe template used to render the month slots in "month" and "year" views.
month-header-template-viewIHtmlContentThe template used to render the month slots in "month" and "year" views.
resize-tooltip-formatStringThe format used to display the start and end dates in the resize tooltip.
selectedBooleanIf set to true the view will be initially selected by the Gantt widget. The default selected view is "day".
slot-sizeDoubleThe size of the time slot headers. Values are treated as pixels.
time-header-templateStringThe template used to render the time slots in "day" view
time-header-template-handlerStringThe template used to render the time slots in "day" view
time-header-template-idStringThe template used to render the time slots in "day" view
time-header-template-viewIHtmlContentThe template used to render the time slots in "day" view
typeGanttViewTypeThe view type. Supported types are "day", "week", "month" and "year".
week-header-templateStringThe template used to render the week slots in "week" and "month" views.
week-header-template-handlerStringThe template used to render the week slots in "week" and "month" views.
week-header-template-idStringThe template used to render the week slots in "week" and "month" views.
week-header-template-viewIHtmlContentThe template used to render the week slots in "week" and "month" views.
year-header-templateStringThe template used to render the year slots in "year" view.
year-header-template-handlerStringThe template used to render the year slots in "year" view.
year-header-template-idStringThe template used to render the year slots in "year" view.
year-header-template-viewIHtmlContentThe template used to render the year slots in "year" view.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support