TreeViewEventBuilder
Defines the fluent API for configuring the events of the Kendo TreeView for ASP.NET MVC
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TreeViewEventBuilder : EventBuilder
Inheritance: objectEventBuilderTreeViewEventBuilder
Inherited Members
Constructors
public TreeViewEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the Change client-side event. Triggered when the selection has changed (either by the user or through the select method).
public TreeViewEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Defines the handler of the Check client-side event. Triggered after the user has checked or unchecked a checkbox. If checkChildren is true, the event is triggered after all checked states are updated. This event has been introduced in internal builds after 2014.2.828.
public TreeViewEventBuilder Check(string handler)
The name of the JavaScript function that will handle the Check event.
Returns:Defines the handler of the Collapse client-side event. Triggered before a subgroup gets collapsed. Cancellable.
public TreeViewEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:Defines the handler of the DataBound client-side event. Triggered after the dataSource change event has been processed (adding/removing items);
public TreeViewEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Defines the handler of the Drag client-side event. Triggered while a node is being dragged.
public TreeViewEventBuilder Drag(string handler)
The name of the JavaScript function that will handle the Drag event.
Returns:Defines the handler of the DragEnd client-side event. Triggered after a node has been dropped.
public TreeViewEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns:Defines the handler of the DragStart client-side event. Triggered before the dragging of a node starts.
public TreeViewEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns:Defines the handler of the Drop client-side event. Triggered when a node is being dropped.
public TreeViewEventBuilder Drop(string handler)
The name of the JavaScript function that will handle the Drop event.
Returns:Defines the handler of the Expand client-side event. Triggered before a subgroup gets expanded.
public TreeViewEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TreeView is focused.
public TreeViewEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the LoadCompleted client-side event. This event triggers only when loadOnDemand is set to false - it indicates that all nodes that need to be loaded are ready and present as data items in the DataSource of the TreeView.
public TreeViewEventBuilder LoadCompleted(string handler)
The name of the JavaScript function that will handle the LoadCompleted event.
Returns:Defines the handler of the Navigate client-side event. Triggered when the user moves the focus on another node
public TreeViewEventBuilder Navigate(string handler)
The name of the JavaScript function that will handle the Navigate event.
Returns:Defines the handler of the Select client-side event. Triggered when a node is being selected by the user. Cancellable.
public TreeViewEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns: