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.
BeforeEdit(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
Cancel(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
CellClose(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
Change(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
Collapse(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
Edit(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
ExcelExport(System.Func)
Fires when the user clicks the Export to Excel toolbar button.
For more information see ExcelExport event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
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.
Expand(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
GroupCollapse(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
GroupExpand(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
PdfExport(System.Func)
Fires when the user clicks the Export to PDF toolbar button.
For more information see PdfExport event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
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.
Save(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
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.
ColumnResize(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.