TreeListEventBuilder
Defines the fluent API for configuring the Kendo TreeList for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TreeListEventBuilder : EventBuilder
Inheritance: objectEventBuilderTreeListEventBuilder
Inherited Members
Constructors
public TreeListEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the BeforeEdit client-side event. Fires when the user tries to edit or creates a data item before the editor is created. Can be used for preventing the editing depending on custom logic. The event handler function context (available through the this keyword) will be set to the widget instance. The event will be fired only when the TreeList is editable.
public TreeListEventBuilder BeforeEdit(string handler)
The name of the JavaScript function that will handle the BeforeEdit event.
Returns:Defines the handler of the Cancel client-side event. Fires when the user clicks the Cancel button (in inline or popup edit mode) or closes the popup window. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the Cancel event.
Returns:Defines the handler of the CellClose client-side event. Fires when the incell edit mode is used and the cell will be closed. The event is triggered after saving or canceling the changes but before the cell is closed. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder CellClose(string handler)
The name of the JavaScript function that will handle the CellClose event.
Returns:Defines the handler of the Change client-side event. Fires when the user selects a table row or cell in the TreeList. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Defines the handler of the Collapse client-side event. Fires when an item is about to be collapsed. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns:Defines the handler of the ColumnHide client-side event. Fires when the user hides a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnHide(string handler)
The name of the JavaScript function that will handle the ColumnHide event.
Returns:Defines the handler of the ColumnLock client-side event. Fires when the user lock a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnLock(string handler)
The name of the JavaScript function that will handle the ColumnLock event.
Returns:Defines the handler of the ColumnMenuInit client-side event. Fires when the column menu is initialized. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnMenuInit(string handler)
The name of the JavaScript function that will handle the ColumnMenuInit event.
Returns:Defines the handler of the ColumnMenuOpen client-side event. Fires when the column menu is opened. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnMenuOpen(string handler)
The name of the JavaScript function that will handle the ColumnMenuOpen event.
Returns:Defines the handler of the ColumnReorder client-side event. Fires when the user changes the order of a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnReorder(string handler)
The name of the JavaScript function that will handle the ColumnReorder event.
Returns:Defines the handler of the ColumnResize client-side event. Fires when the user resizes a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnResize(string handler)
The name of the JavaScript function that will handle the ColumnResize event.
Returns:Defines the handler of the ColumnShow client-side event. Fires when the user shows a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnShow(string handler)
The name of the JavaScript function that will handle the ColumnShow event.
Returns:Defines the handler of the ColumnUnlock client-side event. Fires when the user unlock a column. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder ColumnUnlock(string handler)
The name of the JavaScript function that will handle the ColumnUnlock event.
Returns:Defines the handler of the DataBinding client-side event. Fires before the widget binds to its data source. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the DataBinding event.
Returns:Defines the handler of the DataBound client-side event. Fires when the widget is bound to data from its data source. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder 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. (Available as of the 2015.3.1014 release) Fires while the user is dragging and item. This event is triggered on every mouse move. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder 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. (Available as of the 2015.3.1014 release) Fires when the user finishes dragging an item and the model was updated. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder 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. (Available as of the 2015.3.1014 release) Fires when the user attempts to drag an item. If prevented, the item is not allowed to move. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder 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. (Available as of the 2015.3.1014 release) Fires when the user drops an item. If prevented, the source row will not be moved. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Drop(string handler)
The name of the JavaScript function that will handle the Drop event.
Returns:Defines the handler of the Edit client-side event. Fires when the user edits or creates a data item. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the Edit event.
Returns:Defines the handler of the ExcelExport client-side event. Fires when the user clicks the Export to Excel toolbar button.
public TreeListEventBuilder ExcelExport(string handler)
The name of the JavaScript function that will handle the ExcelExport event.
Returns:Defines the handler of the Expand client-side event. Fires when an item is about to be expanded. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns:Defines the handler of the FilterMenuInit client-side event. Fires when the TreeList filter menu is initialized. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder FilterMenuInit(string handler)
The name of the JavaScript function that will handle the FilterMenuInit event.
Returns:Defines the handler of the FilterMenuOpen client-side event. Fires when the TreeList filter menu is opened. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder FilterMenuOpen(string handler)
The name of the JavaScript function that will handle the FilterMenuOpen event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TreeList is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public TreeListEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the PdfExport client-side event. Fires when the user clicks the Export to PDF toolbar button.
public TreeListEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns:Defines the handler of the Remove client-side event. Fires when the user clicks the Destroy command button. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Defines the handler of the Save client-side event. Fires when a data item is saved. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder Save(string handler)
The name of the JavaScript function that will handle the Save event.
Returns:Defines the handler of the SaveChanges client-side event. Fires when the user clicks the Save command button. The event handler function context (available through the this keyword) will be set to the widget instance.
public TreeListEventBuilder SaveChanges(string handler)
The name of the JavaScript function that will handle the SaveChanges event.
Returns: