Timeline

Example

Razor
<kendo-timeline>
    <datasource></datasource>
    <timeline-event-template></timeline-event-template>
</kendo-timeline>

ChildTags

Tag NameDetails
datasourceDataSourceTagHelper
timeline-event-templateTemplateTagHelper

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
as-moduleBooleanSpecifies whether the initialization script of the component will be rendered as a JavaScript module.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
alternating-modeBooleanIndicates whether events should be positioned on both sides of the timeline axis. By default all events are displayed on the right side of the timeline axis.
auto-bindBooleanIf set to false, the Timeline will not bind to the data source during initialization, i.e. it will not call the fetch method of the dataSource instance. In such scenarios data binding will occur when the change event of the dataSource instance is fired. By default, autoBind is set to true and the widget will bind to the data source specified in the configuration.
collapsible-eventsBooleanEnables the events in the Kendo UI Timeline to be expandable or collapsible. When enabled initially all events are collapsed.
data-actions-fieldStringSets the field of the data item that provides the actions information for the event.
data-date-fieldStringSets the field of the data item that provides information when the given event happened in time.
data-description-fieldStringSets the field of the data item that provides the description information for the event.
data-images-alt-fieldStringSets the field of the data item that provides the value for the alt attribute of the images.
data-images-fieldStringSets the field of the data item that provides the images information for the event.
datasource-idStringThe Id of the data source.
data-subtitle-fieldStringSets the field of the data item that provides the subtitle information for the event.
data-title-fieldStringSets the field of the data item that provides the title information for the event.
date-formatStringSets the date format used to display the date in the event's label
event-heightDoubleSets specific height for the event in horizontal mode.
event-templateStringSpecifies the template used to render the event details.
event-template-handlerStringSpecifies the template used to render the event details. This option expects the name of a JavaScript function that will be called to return the template.
event-template-idStringSpecifies the template used to render the event details. This option expects the ID of the script element that contains the template.
event-template-viewIHtmlContentSpecifies the template used to render the event details. This option expects the instance containing the created HTML.
event-widthDoubleSets specific width for the event in vertical mode.
navigatableBooleanIf set to true, will enable the keyboard navigation for the component.
on-action-clickStringThe name of the JavaScript function that will handle the actionClick event. Fires when an action for an event is clicked.
on-changeStringThe name of the JavaScript function that will handle the change event. Fires when a new event is opened.
on-collapseStringThe name of the JavaScript function that will handle the collapse event. Fires when an event is going to be collapsed.
on-data-boundStringThe name of the JavaScript function that will handle the dataBound event. Fires when the Timeline is bound to data.
on-expandStringThe name of the JavaScript function that will handle the expand event. Fires when an event is going to be expanded.
on-navigateStringThe name of the JavaScript function that will handle the navigate event. Fires when the left or right arrow is clicked.
orientationTimelineOrientationDefines the orientation of the Timeline widget
script-attributesIDictionary<String,Object>Sets the attributes that will be added to the script tag of the component's initialization script.
show-date-labelsBooleanIf set to false, the event's date label will be hidden.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support