PropertyGridEventBuilder

Methods

BeforeEdit(System.String)

Defines the handler of the BeforeEdit client-side event. 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)

Defines the handler of the Cancel client-side event. 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)

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 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)

Defines the handler of the Change client-side event. 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)

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 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)

Defines the handler of the Edit client-side event. 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)

Defines the handler of the ExcelExport client-side event. 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)

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 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)

Defines the handler of the GroupCollapse client-side event. 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)

Defines the handler of the GroupExpand client-side event. 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)

Defines the handler of the PdfExport client-side event. 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)

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 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)

Defines the handler of the ColumnResize client-side event. 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.

DataBinding(System.String)

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.

For more information see DataBinding event.

Parameters

handler - System.String

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

DataBound(System.String)

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.

For more information see DataBound event.

Parameters

handler - System.String

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

DragStart(System.String)

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.

For more information see DragStart event.

Parameters

handler - System.String

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

Drag(System.String)

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.

For more information see Drag event.

Parameters

handler - System.String

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

DragEnd(System.String)

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.

For more information see DragEnd event.

Parameters

handler - System.String

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

Drop(System.String)

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.

For more information see Drop event.

Parameters

handler - System.String

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

FilterMenuInit(System.String)

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.

For more information see FilterMenuInit event.

Parameters

handler - System.String

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

FilterMenuOpen(System.String)

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.

For more information see FilterMenuOpen event.

Parameters

handler - System.String

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

Remove(System.String)

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.

For more information see Remove event.

Parameters

handler - System.String

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

SaveChanges(System.String)

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.

For more information see SaveChanges event.

Parameters

handler - System.String

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

ColumnShow(System.String)

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.

For more information see ColumnShow event.

Parameters

handler - System.String

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

ColumnHide(System.String)

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.

For more information see ColumnHide event.

Parameters

handler - System.String

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

ColumnReorder(System.String)

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.

For more information see ColumnReorder event.

Parameters

handler - System.String

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

ColumnMenuInit(System.String)

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.

For more information see ColumnMenuInit event.

Parameters

handler - System.String

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

ColumnMenuOpen(System.String)

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.

For more information see ColumnMenuOpen event.

Parameters

handler - System.String

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

ColumnLock(System.String)

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.

For more information see ColumnLock event.

Parameters

handler - System.String

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

ColumnUnlock(System.String)

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.

For more information see ColumnUnlock event.

Parameters

handler - System.String

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