Kendo.Mvc.UI.Fluent.GridEventBuilder

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

Methods

BeforeEdit(System.String)

Fired when the user try to edit or create 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 via the this keyword) will be set to the widget instance.The event will be fired only when the Grid is selectable.

For additional information check the beforeEdit event documentation.

Parameters

handler System.String

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

BeforeEdit(System.Func<System.Object,System.Object>)

Fired when the user try to edit or create 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 via the this keyword) will be set to the widget instance.The event will be fired only when the Grid is selectable.

For additional information check the beforeEdit event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Cancel(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

CellClose(System.String)

Fired when "incell" edit mode is used and the cell is going to be closed. The event is triggerd after saving or canceling the changes, but before the cell is closed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the cellClose event documentation.

Parameters

handler System.String

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

CellClose(System.Func<System.Object,System.Object>)

Fired when "incell" edit mode is used and the cell is going to be closed. The event is triggerd after saving or canceling the changes, but before the cell is closed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the cellClose event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Change(System.String)

Fired when the user selects a table row or cell in the grid.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.

Change(System.Func<System.Object,System.Object>)

Fired when the user selects a table row or cell in the grid.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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnHide(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnLock(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnMenuInit(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

ColumnMenuOpen(System.String)

Fired when the grid column menu is opened, after the animations are completed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnMenuOpen event documentation.

Parameters

handler System.String

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

ColumnMenuOpen(System.Func<System.Object,System.Object>)

Fired when the grid column menu is opened, after the animations are completed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the columnMenuOpen event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnReorder(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnResize(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnShow(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ColumnUnlock(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

DataBinding(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

DataBound(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DetailCollapse(System.String)

Fired when the user collapses a detail table row.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the detailCollapse event documentation.

Parameters

handler System.String

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

DetailCollapse(System.Func<System.Object,System.Object>)

Fired when the user collapses a detail table row.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the detailCollapse event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DetailExpand(System.String)

Fired when the user expands a detail table row.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the detailExpand event documentation.

Parameters

handler System.String

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

DetailExpand(System.Func<System.Object,System.Object>)

Fired when the user expands a detail table row.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the detailExpand event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

DetailInit(System.String)

Fired when a detail table row is initialized.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the detailInit event documentation.

Parameters

handler System.String

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

DetailInit(System.Func<System.Object,System.Object>)

Fired when a detail table row is initialized.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the detailInit event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Edit(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ExcelExport(System.Func<System.Object,System.Object>)

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

For additional information check the excelExport event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Filter(System.String)

Fired when the user is about to filter the DataSource via the filter UI.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the filter event documentation.

Parameters

handler System.String

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

Filter(System.Func<System.Object,System.Object>)

Fired when the user is about to filter the DataSource via the filter UI.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the filter event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

FilterMenuInit(System.String)

Fired when the grid filter menu is initialized, when it is opened for the first time.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.

FilterMenuInit(System.Func<System.Object,System.Object>)

Fired when the grid filter menu is initialized, when it is opened for the first time.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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

FilterMenuOpen(System.String)

Fired when the grid filter menu is opened, after the animations are completed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filterMenuOpen event documentation.

Parameters

handler System.String

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

FilterMenuOpen(System.Func<System.Object,System.Object>)

Fired when the grid filter menu is opened, after the animations are completed.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the filterMenuOpen event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Group(System.String)

Fired when the user is about to group the DataSource or modify the group descriptors state via the Grid group panel.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the group event documentation.

Parameters

handler System.String

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

Group(System.Func<System.Object,System.Object>)

Fired when the user is about to group the DataSource or modify the group descriptors state via the Grid group panel.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the group event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

GroupCollapse(System.String)

Fired when the user collapses a group row.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2017 R3 (2017.3.913) release.

For additional information check the groupCollapse event documentation.

Parameters

handler System.String

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

GroupCollapse(System.Func<System.Object,System.Object>)

Fired when the user collapses a group row.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2017 R3 (2017.3.913) release.

For additional information check the groupCollapse event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

GroupExpand(System.String)

Fired when the user expands a group row.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2017 R3 (2017.3.913) release.

For additional information check the groupExpand event documentation.

Parameters

handler System.String

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

GroupExpand(System.Func<System.Object,System.Object>)

Fired when the user expands a group row.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2017 R3 (2017.3.913) release.

For additional information check the groupExpand event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Navigate(System.String)

Fired when navigatable is enabled and the user change current item with either mouse or keyboard interaction.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the navigate event documentation.

Parameters

handler System.String

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

Navigate(System.Func<System.Object,System.Object>)

Fired when navigatable is enabled and the user change current item with either mouse or keyboard interaction.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the navigate event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Page(System.String)

Fired when the user is about change the current page index of DataSource via the pager UI.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the page event documentation.

Parameters

handler System.String

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

Page(System.Func<System.Object,System.Object>)

Fired when the user is about change the current page index of DataSource via the pager UI.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the page event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

PdfExport(System.Func<System.Object,System.Object>)

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

For additional information check the pdfExport event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Remove(System.String)

Fired when the user clicks the "destroy" command button and delete operation is confirmed in the confirmation window, if the cancel button in the window is clicked the event will not be fired.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.

Remove(System.Func<System.Object,System.Object>)

Fired when the user clicks the "destroy" command button and delete operation is confirmed in the confirmation window, if the cancel button in the window is clicked the event will not be fired.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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Save(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

SaveChanges(System.String)

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

For additional information check the saveChanges event documentation.

Parameters

handler System.String

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

SaveChanges(System.Func<System.Object,System.Object>)

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

For additional information check the saveChanges event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Sort(System.String)

Fired when the user is about to modify the current state of sort descriptors of DataSource via the sort UI.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the sort event documentation.

Parameters

handler System.String

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

Sort(System.Func<System.Object,System.Object>)

Fired when the user is about to modify the current state of sort descriptors of DataSource via the sort UI.The event handler function context (available via the this keyword) will be set to the widget instance.Introduced in the Kendo UI 2016 R3 (2016.3.914) release.

For additional information check the sort event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.