Edit this page

Kendo.Mvc.UI.Fluent.TreeListEventBuilder

Defines the fluent API for configuring the Kendo TreeList for ASP.NET MVC events.

Methods

Cancel(System.String)

Fired when the user clicks the "cancel" button (in inline or popup editing mode) or closes the popup window.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the cancel event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the cancel event.

Change(System.String)

Fired when the user selects a table row or cell in the treelist.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the change event.

Collapse(System.String)

Fired when an item is about to be collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the collapse event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the collapse event.

DataBinding(System.String)

Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBinding event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the dataBinding event.

DataBound(System.String)

Fired when the widget is bound to data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the dataBound event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the dataBound event.

DragStart(System.String)

Fired when the user attempts to drag an item. If prevented, the item is not allowed to move.The event handler function context (available via the this keyword) will be set to the widget instance.Available in builds 2015.3.1014 and later.

For additional information check the dragStart event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the dragstart event.

Drag(System.String)

Fired while the user drags and item. This event is triggered on every mouse move.The event handler function context (available via the this keyword) will be set to the widget instance.Available in builds 2015.3.1014 and later.

For additional information check the drag event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the drag event.

DragEnd(System.String)

Fired when the user has finished dragging an item and the model has been updated.The event handler function context (available via the this keyword) will be set to the widget instance.Available in builds 2015.3.1014 and later.

For additional information check the dragEnd event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the dragend event.

Drop(System.String)

Fired when the user drops an item. If prevented, the source row will not be moved.The event handler function context (available via the this keyword) will be set to the widget instance.Available in builds 2015.3.1014 and later.

For additional information check the drop event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the drop event.

Edit(System.String)

Fired when the user edits or creates a data item.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the edit event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the edit event.

ExcelExport(System.String)

Fired when the user clicks the "Export to Excel" toolbar button.

For additional information check the excelExport event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the excelExport event.

Expand(System.String)

Fired when an item is about to be expanded.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the expand event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the expand event.

FilterMenuInit(System.String)

Fired when the treelist filter menu is initialized.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filterMenuInit event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the filterMenuInit event.

PdfExport(System.String)

Fired when the user clicks the "Export to PDF" toolbar button.

For additional information check the pdfExport event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the pdfExport event.

Remove(System.String)

Fired when the user clicks the "destroy" command button.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the remove event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the remove event.

Save(System.String)

Fired when a data item is saved.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the save event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the save event.

ColumnShow(System.String)

Fired when the user shows a column.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnShow event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnShow event.

ColumnHide(System.String)

Fired when the user hides a column.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnHide event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnHide event.

ColumnReorder(System.String)

Fired when the user changes the order of a column.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnReorder event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnReorder event.

ColumnResize(System.String)

Fired when the user resizes a column.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnResize event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnResize event.

ColumnMenuInit(System.String)

Fired when the column menu is initialized.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnMenuInit event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnMenuInit event.

ColumnLock(System.String)

Fired when the user lock a column.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnLock event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnLock event.

ColumnUnlock(System.String)

Fired when the user unlock a column.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnUnlock event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the columnUnlock event.