GridControl Events
The grid control.| Name | Description |
|---|---|
| AddingNewRow | Fires before a new row is added to the data source via the Grid. |
| AutoGeneratedColumns | Occurs after the columns have been automatically generated. Inherited from DataControlBase. |
| AutoGeneratingColumn | Occurs each time an individual column is auto-generated. Inherited from DataControlBase. |
| BeforeLayoutRefresh | Enables you to lock down end-user capabilities that affect the onscreen position of the focused row (e.g. moving row focus, row scrolling, sorting, etc.). Inherited from DataControlBase. |
| CellValueChanged | Occurs after a cell’s value has been changed. Inherited from GridControlBase. |
| CellValueChanging | Fires in response to changing the edit value. Inherited from GridControlBase. |
| ColumnsPopulated | Obsolete. Occurs after the columns have been automatically generated. Inherited from DataControlBase. |
| ContextMenuClosed | Occurs after the context menu has been closed. |
| ContextMenuOpened | Occurs after the context menu has been opened. |
| ContextMenuOpening | Occurs before the context menu is opened. |
| CurrentColumnChanged | Occurs after the focused column has been changed. Inherited from DataControlBase. |
| CustomCellAppearance | Allows you to customize cell appearance. |
| CustomColumnGroup | Provides the capability to group data using custom rules. |
| CustomColumnSort | Enables you to sort data using custom rules. |
| CustomGroupDisplayText | Enables you to provide custom content for group rows. Inherited from GridControlBase. |
| CustomSummary | Allows you to calculate summary values manually. |
| CustomSummaryExists | Enables you to specify which summaries should be calculated and displayed. |
| CustomUnboundColumnData | Enables data to be supplied to unbound columns. |
| EndGrouping | Occurs after the grouping operation has been completed. |
| EndSorting | Occurs after a sorting operation has been completed. |
| FilterChanged | Occurs after the grid’s filter has been changed. Inherited from DataControlBase. |
| GroupRowCollapsed | Occurs after a group row has been collapsed. |
| GroupRowCollapsing | Occurs when a group row is about to be collapsed, allowing cancellation of the action. |
| GroupRowExpanded | Occurs after a group row has been expanded. |
| GroupRowExpanding | Occurs when a group row is about to be expanded, allowing cancellation of the action. |
| HiddenEditor | Occurs after a cell’s editor has been closed. Inherited from GridControlBase. |
| InitNewRow | Allows you to initialize a new row with default values. |
| InvalidRowException | Fires when a row fails validation or when it cannot be saved to a data source. Inherited from GridControlBase. |
| ItemsSourceChanged | Occurs after the DataControlBase.ItemsSource property has been changed. Inherited from DataControlBase. |
| PropertyChanged | Occurs every time any of the DataControlBase class properties have changed their value. Inherited from DataControlBase. |
| RowCanceled | Inherited from GridControlBase. |
| RowUpdated | Inherited from GridControlBase. |
| SelectedItemChanged | Occurs after the selected item has been changed. Inherited from DataControlBase. |
| SelectionChanged | Occurs after grid’s selection has been changed. Inherited from DataControlBase. |
| ShowFilterPopup | Enables you to customize a column’s filter dropdown. Inherited from DataControlBase. |
| ShownEditor | Occurs after the focused cell’s editor has been shown. Inherited from GridControlBase. |
| StartGrouping | Occurs before a grouping operation is started. |
| StartSorting | Occurs before a sorting operation is started. |
| ValidateCell | Enables you to specify whether the focused cell’s data is valid, and whether the cell’s editor can be closed. |
| ValidateRow | Enables you to specify whether the focused row’s data is valid, and whether the row can lose focus. |
See Also