Defines the fluent API for configuring the Kendo Spreadsheet for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class SpreadsheetEventBuilder : EventBuilder
Inheritance: objectEventBuilderSpreadsheetEventBuilder
Inherited Members
Constructors
public SpreadsheetEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the Change client-side event. Triggered when a value in the Spreadsheet has been changed. Introduced in the 2016.Q1.SP1 release.
public SpreadsheetEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Defines the handler of the ChangeFormat client-side event. Triggered when the range format is changed from the UI. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder ChangeFormat(string handler)
The name of the JavaScript function that will handle the ChangeFormat event.
Returns:Defines the handler of the Changing client-side event. Triggered when a value or validation in the Spreadsheet is about to be changed upon user interaction.
public SpreadsheetEventBuilder Changing(string handler)
The name of the JavaScript function that will handle the Changing event.
Returns:Defines the handler of the Copy client-side event. Fired when a range of a sheet is about to be copied.
public SpreadsheetEventBuilder Copy(string handler)
The name of the JavaScript function that will handle the Copy event.
Returns:Defines the handler of the Cut client-side event. Fired when a range of a sheet is about to be cut.
public SpreadsheetEventBuilder Cut(string handler)
The name of the JavaScript function that will handle the Cut event.
Returns:Defines the handler of the DataBinding client-side event. Fired when the data retrieved from a DataSource is about to be bound to a sheet. Available only if DataSource has been defined for at least one sheet.
public SpreadsheetEventBuilder 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. Fired when the data from a DataSource is already populated in a sheet. Available only if DataSource has been defined for at least one sheet.
public SpreadsheetEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Defines the handler of the DeleteColumn client-side event. Triggered when a column will be deleted. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder DeleteColumn(string handler)
The name of the JavaScript function that will handle the DeleteColumn event.
Returns:Defines the handler of the DeleteRow client-side event. Triggered when a row will be deleted. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder DeleteRow(string handler)
The name of the JavaScript function that will handle the DeleteRow event.
Returns:Defines the handler of the ExcelExport client-side event. Fires when the user clicks the Export to Excel toolbar button.
public SpreadsheetEventBuilder ExcelExport(string handler)
The name of the JavaScript function that will handle the ExcelExport event.
Returns:Defines the handler of the ExcelImport client-side event. Fired when the user imports a file after selecting it from the window prompt. The event is fired before the file importing has finished.
public SpreadsheetEventBuilder ExcelImport(string handler)
The name of the JavaScript function that will handle the ExcelImport event.
Returns:Defines the handler of the HideColumn client-side event. Triggered when a column will be hidden. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder HideColumn(string handler)
The name of the JavaScript function that will handle the HideColumn event.
Returns:Defines the handler of the HideRow client-side event. Triggered when a row will be hidden. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder HideRow(string handler)
The name of the JavaScript function that will handle the HideRow event.
Returns:Defines the handler of the InsertColumn client-side event. Triggered when a column will be inserted. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder InsertColumn(string handler)
The name of the JavaScript function that will handle the InsertColumn event.
Returns:Defines the handler of the InsertRow client-side event. Triggered when a row will be inserted. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder InsertRow(string handler)
The name of the JavaScript function that will handle the InsertRow event.
Returns:Defines the handler of the InsertSheet client-side event. Triggered when a sheet is inserted. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder InsertSheet(string handler)
The name of the JavaScript function that will handle the InsertSheet event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the Spreadsheet is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public SpreadsheetEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the Paste client-side event. Fired when a data is about to be pasted in a sheet.
public SpreadsheetEventBuilder Paste(string handler)
The name of the JavaScript function that will handle the Paste event.
Returns:Defines the handler of the PdfExport client-side event. Fired when the user initiates the export to PDF.
public SpreadsheetEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns:Defines the handler of the RemoveSheet client-side event. Triggered when a sheet will be removed. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder RemoveSheet(string handler)
The name of the JavaScript function that will handle the RemoveSheet event.
Returns:Defines the handler of the RenameSheet client-side event. Triggered when a sheet will be renamed. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder RenameSheet(string handler)
The name of the JavaScript function that will handle the RenameSheet event.
Returns:Defines the handler of the Render client-side event. Triggered after the widget has completed rendering. The event will also fire when a cell is selected or when the Spreadsheet's tools (bold, italic) are used, as the target element is re-generated with new styles (e.g background-color, box-shadow, font-weight, etc.).
public SpreadsheetEventBuilder Render(string handler)
The name of the JavaScript function that will handle the Render event.
Returns:Defines the handler of the Select client-side event. Triggered when the Spreadsheet selection is changed. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Defines the handler of the SelectSheet client-side event. Triggered when a sheet will be activated. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder SelectSheet(string handler)
The name of the JavaScript function that will handle the SelectSheet event.
Returns:Defines the handler of the UnhideColumn client-side event. Triggered when a column will be shown. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder UnhideColumn(string handler)
The name of the JavaScript function that will handle the UnhideColumn event.
Returns:Defines the handler of the UnhideRow client-side event. Triggered when a row will be shown. Introduced in the 2017 Q1 release.
public SpreadsheetEventBuilder UnhideRow(string handler)
The name of the JavaScript function that will handle the UnhideRow event.
Returns: