Back to Devexpress

MVCxGridView Events

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxgridview-dot-underscore-events.md

latest20.8 KB
Original Source

MVCxGridView Events

The object of this type represents a configured instance of the corresponding extension and is intended to be used mainly as a sender parameter when processing events on the server side.

NameDescription
AddSummaryItemViaContextMenuFires when a total summary item is added to the ASPxGridView.TotalSummary collection using the context menu. Inherited from ASPxGridView.
AfterPerformCallbackFires after a callback or a postback initiated by the control has been processed on the server. Inherited from ASPxGridView.
AutoFilterCellEditorCreateEnables you to assign editors to individual filter row cells. Inherited from ASPxGridView.
AutoFilterCellEditorInitializeEnables the cell editors displayed within the auto filter row cells to be initialized. Inherited from ASPxGridView.
BatchUpdateOccurs after an end-user clicks the Update button in batch edit mode and allows you to provide a custom data updating mechanism. Inherited from ASPxGridBase.
BeforeColumnSortingGroupingFires before a column is sorted or grouped. Inherited from ASPxGridView.
BeforeExportOccurs before the grid content is exported and allows you to customize export settings. Inherited from ASPxGridBase.
BeforeGetCallbackResultOccurs after a callback sent by the current control has been processed on the server, but prior to the time the respective callback result render is formed. Inherited from ASPxGridBase.
BeforeHeaderFilterFillItemsAllows you to populate the header filter dropdown with custom items instead of default items. Inherited from ASPxGridView.
BeforePerformDataSelectOccurs before the control obtains data from a data source. Inherited from ASPxGridBase.
CallbackError staticAllows you to handle any server exception that might occur during server-side processing of a callback sent by a DevExpress web control. Inherited from ASPxWebControl.
CancelRowEditingEnables you to prevent changes made within a row from being discarded. Inherited from ASPxGridView.
CellEditorInitializeOccurs after a cell editor contained in the edit cells is initialized, but before it’s shown. Inherited from ASPxGridView.
ClientLayoutEnables you to save and restore the previously saved layout of the grid. Inherited from ASPxGridBase.
CommandButtonInitializeEnables individual command buttons to be initialized. Inherited from ASPxGridView.
ContextMenuInitializeOccurs when the context menu is initialized. Inherited from ASPxGridView.
ContextMenuItemClickFires on the server side when a context menu item has been clicked. Inherited from ASPxGridView.
ContextMenuItemVisibilityEnables you to dynamically change the visibility and availability of context menu items. Inherited from ASPxGridView.
CustomButtonCallbackOccurs when a custom command button has been clicked. Inherited from ASPxGridView.
CustomButtonInitializeEnables you to initialize custom command buttons. Inherited from ASPxGridView.
CustomCallbackFires when you call the ASPxClientGridView.PerformCallback method and initiate a round trip to the server. Inherited from ASPxGridView.
CustomCellMergeAllows you to merge grid cells manually. Inherited from ASPxGridView.
CustomColumnDisplayTextEnables you to specify the display text for a cell. Inherited from ASPxGridView.
CustomColumnGroupAllows you to apply a custom grouping algorithm to a column. Inherited from ASPxGridView.
CustomColumnSortAllows you to apply a custom sort algorithm to a column. Inherited from ASPxGridView.
CustomDataCallbackFires when a round trip to the server has been initiated by a call to the client ASPxClientGridView.GetValuesOnCustomCallback method. Inherited from ASPxGridView.
CustomErrorTextEnables you to provide custom error descriptions. Inherited from ASPxGridView.
CustomFilterExpressionDisplayTextEnables you to display custom text in the filter bar, corresponding to the current filter expression. Inherited from ASPxGridBase.
CustomGroupDisplayTextAllows you to customize the text of group rows. Inherited from ASPxGridView.
CustomJSPropertiesEnables you to supply any server data that can then be parsed on the client. Inherited from ASPxGridView.
CustomPreviewDisplayTextEnables you to provide custom display text for a preview row. Inherited from ASPxGridView.
CustomSummaryCalculateEnables you to calculate summary values manually. Inherited from ASPxGridBase.
CustomUnboundColumnDataEnables you to supply data to unbound columns. Inherited from ASPxGridView.
DataBindingOccurs when the server control binds to a data source. Inherited from Control.
DataBoundOccurs after the server control is bound to a data source. Inherited from ASPxDataWebControlBase.
DetailRowExpandedChangedOccurs after a master row has been expanded or collapsed. Inherited from ASPxGridView.
DetailRowGetButtonVisibilityEnables you to hide/show expand buttons displayed within individual data rows. Inherited from ASPxGridView.
DetailsChangedFires after a detail row(s) has been expanded or collapsed. Inherited from ASPxGridView.
DisposedOccurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. Inherited from Control.
EditFormLayoutCreatedFires when the edit form layout is created. Inherited from ASPxGridView.
ExportRenderBrickAllows you to customize an exported grid element. Inherited from ASPxGridView.
FilterControlColumnsCreatedOccurs after all filter control columns have been created. Inherited from ASPxGridBase.
FilterControlCriteriaValueEditorCreateAllows you to replace the default criteria value editor with a custom editor. Inherited from ASPxGridBase.
FilterControlCriteriaValueEditorInitializeFires when an editor in the criteria value is initialized. Inherited from ASPxGridBase.
FilterControlCustomValueDisplayTextAllows you to specify the entered filter value’s custom display text to be displayed when the filter control’s condition value editor is inactive. Inherited from ASPxGridBase.
FilterControlOperationVisibilityEnables you to dynamically hide operation items (such as the Equals, Contains, etc.) of the filter control’s operation dropdown menu. Inherited from ASPxGridBase.
FilterControlParseValueEnables you to process and modify an entered value before it is actually accepted by the filter control. Inherited from ASPxGridBase.
FocusedRowChangedFires when the row focus changes. Inherited from ASPxGridView.
HeaderFilterEditorInitializeOccurs when a header filter editor is initialized. Inherited from ASPxGridView.
HeaderFilterFillItemsAllows you to add custom header filter items to default items. Inherited from ASPxGridView.
HtmlCommandCellPreparedEnables the settings of individual command column cells to be changed. Inherited from ASPxGridView.
HtmlDataCellPreparedEnables you to change individual cell settings. Inherited from ASPxGridView.
HtmlEditFormCreatedOccurs when a table row, which corresponds to the Edit Form, has been created. Inherited from ASPxGridView.
HtmlFooterCellPreparedEnables the settings of individual footer cells to be changed. Inherited from ASPxGridView.
HtmlRowCreatedOccurs when a table row has been created. Inherited from ASPxGridView.
HtmlRowPreparedEnables the settings of individual rows to be changed. Inherited from ASPxGridView.
InitOccurs when the server control is initialized, which is the first step in its lifecycle. Inherited from Control.
InitNewRowEnables you to initialize added rows. Inherited from ASPxGridView.
LoadOccurs when the server control is loaded into the Page object. Inherited from Control.
PageIndexChangedFires after the selected page has been changed. Inherited from ASPxGridBase.
PageSizeChangedFires on the server side after the page size, i.e., the number of data items (rows, cards or records) per a page is changed by end-user interactions. Inherited from ASPxGridBase.
ParseValueEnables you to process and modify an entered value before it is actually accepted by the grid. Inherited from ASPxGridBase.
PreRenderOccurs after the Control object is loaded but prior to rendering. Inherited from Control.
ProcessColumnAutoFilterEnables you to apply custom filter criteria when filter row is in the Auto mode. Inherited from ASPxGridView.
ProcessOnClickRowFilterEnables you to apply custom filter criteria when the filter row is in the OnClick mode. Inherited from ASPxGridView.
RowCommandFires when a control contained within a templated grid row raises the Command event. Inherited from ASPxGridView.
RowDeletedOccurs after a row has been deleted. Inherited from ASPxGridView.
RowDeletingEnables you to prevent a row from being deleted. Inherited from ASPxGridView.
RowInsertedFires after a new row has been added to the ASPxGridView. Inherited from ASPxGridView.
RowInsertingEnables you to cancel adding a new row. Inherited from ASPxGridView.
RowUpdatedOccurs after a row has been updated. Inherited from ASPxGridView.
RowUpdatingEnables you to prevent a row from being updated. Inherited from ASPxGridView.
RowValidatingEnables you to specify whether row data is valid and whether the row can be updated. Inherited from ASPxGridView.
SearchPanelEditorCreateEnables you to replace the default search panel editor with custom one. Inherited from ASPxGridView.
SearchPanelEditorInitializeEnables you to customize the properties of an editor displayed within the search panel. Inherited from ASPxGridView.
SelectionChangedFires when the row selection changes. Inherited from ASPxGridBase.
StartRowEditingEnables you to prevent a row from being edited. Inherited from ASPxGridView.
SubstituteFilterAllows you to replace a filter applied with another filter. Inherited from ASPxGridBase.
SubstituteSortInfoFor internal use only. Inherited from ASPxGridBase.
SummaryDisplayTextEnables custom display text to be provided for any summary value. Inherited from ASPxGridView.
ToolbarItemClickFires after a toolbar item has been clicked. Inherited from ASPxGridView.
UnloadOccurs when the server control is unloaded from memory. Inherited from Control.

See Also

MVCxGridView Class

MVCxGridView Members

DevExpress.Web.Mvc Namespace