TimelineEventBuilder
Methods
Change(System.String)
Defines the handler of the Change client-side event. Fires when a new event is opened.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Change event.
Example
@(Html.Kendo().Timeline<Event>()
.Name("timeline")
.Events(events =>events
.Change("onChange")
)
)
DataBound(System.String)
Defines the handler of the DataBound client-side event. Fires when the Timeline is bound to data.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DataBound event.
Example
@(Html.Kendo().Timeline<Event>()
.Name("timeline")
.Events(events =>events
.DataBound("onDataBound")
)
)
Expand(System.String)
Defines the handler of the Expand client-side event. Fires when an event is going to be expanded.
For more information see Expand event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Expand event.
Example
@(Html.Kendo().Timeline<Event>()
.Name("timeline")
.Events(events =>events
.Expand("onExpand")
)
)
Collapse(System.String)
Defines the handler of the Collapse client-side event. Fires when an event is going to be collapsed.
For more information see Collapse event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Collapse event.
Example
@(Html.Kendo().Timeline<Event>()
.Name("timeline")
.Events(events =>events
.Collapse("onCollapse")
)
)
ActionClick(System.String)
Defines the handler of the ActionClick client-side event. Fires when an action for an event is clicked.
For more information see ActionClick event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the ActionClick event.
Example
@(Html.Kendo().Timeline<Event>()
.Name("timeline")
.Events(events =>events
.ActionClick("onActionClick")
)
)
Navigate(System.String)
Defines the handler of the Navigate client-side event. Fires when the left or right arrow is clicked.
For more information see Navigate event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the Navigate event.
Example
@(Html.Kendo().Timeline<Event>()
.Name("timeline")
.Events(events =>events
.Navigate("onNavigate")
)
)