New to Telerik UI for ASP.NET MVC? Download free 30-day trial

PropertyGridEventBuilder

Methods

BeforeEdit(System.String)

Fires when the user tries to edit 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 component instance. The event will be fired only when the PropertyGrid is editable.

For more information see BeforeEdit event.

Parameters

handler - System.String

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

Cancel(System.String)

Fires when the user closes the edit cell via the Esc key or when the Reset command from the ContextMenu is executed. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see Cancel event.

Parameters

handler - System.String

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

CellClose(System.String)

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 component instance.

For more information see CellClose event.

Parameters

handler - System.String

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

Change(System.String)

Fires when the user selects a table row in the PropertyGrid. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see Change event.

Parameters

handler - System.String

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

Collapse(System.String)

Fires when an item is about to be collapsed. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see Collapse event.

Parameters

handler - System.String

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

Edit(System.String)

Fires when the user edits a data item. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see Edit event.

Parameters

handler - System.String

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

ExcelExport(System.String)

Fires when the user clicks the Export to Excel toolbar button.

For more information see ExcelExport event.

Parameters

handler - System.String

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

Expand(System.String)

Fires when an item is about to be expanded. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see Expand event.

Parameters

handler - System.String

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

GroupCollapse(System.String)

Fires when a group of items is about to be collapsed. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see GroupCollapse event.

Parameters

handler - System.String

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

GroupExpand(System.String)

Fires when a group of items is about to be expanded. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see GroupExpand event.

Parameters

handler - System.String

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

PdfExport(System.String)

Fires when the user clicks the Export to PDF toolbar button.

For more information see PdfExport event.

Parameters

handler - System.String

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

Save(System.String)

Fires when a data item is saved. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see Save event.

Parameters

handler - System.String

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

ColumnResize(System.String)

Fires when the user resizes a column via the Resize contextMenu command. The event handler function context (available through the this keyword) will be set to the component instance.

For more information see ColumnResize event.

Parameters

handler - System.String

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

In this article
Not finding the help you need?