Defines the fluent API for configuring the Kendo PropertyGrid for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PropertyGridEventBuilder : EventBuilder
Inheritance: objectEventBuilderPropertyGridEventBuilder
Inherited Members
Constructors
Initializes a new instance of the PropertyGrid class.
public PropertyGridEventBuilder(IDictionary<string, object> events)
The client events.
Methods
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.
public PropertyGridEventBuilder BeforeEdit(string handler)
The name of the JavaScript function that will handle the BeforeEdit event.
Returns: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.
public PropertyGridEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the Cancel event.
Returns: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.
public PropertyGridEventBuilder CellClose(string handler)
The name of the JavaScript function that will handle the CellClose event.
Returns: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.
public PropertyGridEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns: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.
public PropertyGridEventBuilder Collapse(string handler)
The name of the JavaScript function that will handle the Collapse event.
Returns: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.
public PropertyGridEventBuilder ColumnHide(string handler)
The name of the JavaScript function that will handle the ColumnHide event.
Returns: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.
public PropertyGridEventBuilder ColumnLock(string handler)
The name of the JavaScript function that will handle the ColumnLock event.
Returns: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.
public PropertyGridEventBuilder ColumnMenuInit(string handler)
The name of the JavaScript function that will handle the ColumnMenuInit event.
Returns: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.
public PropertyGridEventBuilder ColumnMenuOpen(string handler)
The name of the JavaScript function that will handle the ColumnMenuOpen event.
Returns: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.
public PropertyGridEventBuilder ColumnReorder(string handler)
The name of the JavaScript function that will handle the ColumnReorder event.
Returns: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.
public PropertyGridEventBuilder ColumnResize(string handler)
The name of the JavaScript function that will handle the ColumnResize event.
Returns: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.
public PropertyGridEventBuilder ColumnShow(string handler)
The name of the JavaScript function that will handle the ColumnShow event.
Returns: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.
public PropertyGridEventBuilder ColumnUnlock(string handler)
The name of the JavaScript function that will handle the ColumnUnlock event.
Returns: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.
public PropertyGridEventBuilder 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. 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.
public PropertyGridEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns: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.
public PropertyGridEventBuilder Drag(string handler)
The name of the JavaScript function that will handle the Drag event.
Returns: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.
public PropertyGridEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns: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.
public PropertyGridEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns: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.
public PropertyGridEventBuilder Drop(string handler)
The name of the JavaScript function that will handle the Drop event.
Returns: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.
public PropertyGridEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the Edit event.
Returns:Defines the handler of the ExcelExport client-side event. Fires when the user clicks the Export to Excel toolbar button.
public PropertyGridEventBuilder ExcelExport(string handler)
The name of the JavaScript function that will handle the ExcelExport event.
Returns: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.
public PropertyGridEventBuilder Expand(string handler)
The name of the JavaScript function that will handle the Expand event.
Returns: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.
public PropertyGridEventBuilder FilterMenuInit(string handler)
The name of the JavaScript function that will handle the FilterMenuInit event.
Returns: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.
public PropertyGridEventBuilder FilterMenuOpen(string handler)
The name of the JavaScript function that will handle the FilterMenuOpen event.
Returns: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.
public PropertyGridEventBuilder GroupCollapse(string handler)
The name of the JavaScript function that will handle the GroupCollapse event.
Returns: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.
public PropertyGridEventBuilder GroupExpand(string handler)
The name of the JavaScript function that will handle the GroupExpand event.
Returns:Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the PropertyGrid is focused.The event handler function context (available via the this keyword) will be set to the widget instance.
public PropertyGridEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the KendoKeydown event.
Returns:Defines the handler of the PdfExport client-side event. Fires when the user clicks the Export to PDF toolbar button.
public PropertyGridEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns: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.
public PropertyGridEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns: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.
public PropertyGridEventBuilder Save(string handler)
The name of the JavaScript function that will handle the Save event.
Returns: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.
public PropertyGridEventBuilder SaveChanges(string handler)
The name of the JavaScript function that will handle the SaveChanges event.
Returns: