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. This option expects the name of a JavaScript function that will be called to return the template.
day-header-template-idStringThe template used to render the day slots in "day" and "week" views. This option expects the ID of the script element that contains the template.
day-header-template-viewIHtmlContentThe template used to render the day slots in "day" and "week" views. This option expects the instance containing the created HTML.
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. This option expects the name of a JavaScript function that will be called to return the template.
month-header-template-idStringThe template used to render the month slots in "month" and "year" views. This option expects the ID of the script element that contains the template.
month-header-template-viewIHtmlContentThe template used to render the month slots in "month" and "year" views. This option expects the instance containing the created HTML.
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 This option expects the name of a JavaScript function that will be called to return the template.
time-header-template-idStringThe template used to render the time slots in "day" view This option expects the ID of the script element that contains the template.
time-header-template-viewIHtmlContentThe template used to render the time slots in "day" view This option expects the instance containing the created HTML.
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. This option expects the name of a JavaScript function that will be called to return the template.
week-header-template-idStringThe template used to render the week slots in "week" and "month" views. This option expects the ID of the script element that contains the template.
week-header-template-viewIHtmlContentThe template used to render the week slots in "week" and "month" views. This option expects the instance containing the created HTML.
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. This option expects the name of a JavaScript function that will be called to return the template.
year-header-template-idStringThe template used to render the year slots in "year" view. This option expects the ID of the script element that contains the template.
year-header-template-viewIHtmlContentThe template used to render the year slots in "year" view. This option expects the instance containing the created HTML.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support