GridControl Events
The Data 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. |
CellValueChanged | Occurs when a cell value is changed. |
CellValueChanging | Occurs when a user edits a cell value (for example, types or deletes a character, or chooses a value from the drop-down list). |
ClipboardRowCopying | Occurs before the GridControl copies data to the clipboard and allows you to process the copy operation. |
ClipboardRowPasting | Occurs before clipboard data is pasted in the GridControl and allows you to process the paste operation. |
ContextMenuClosed | Occurs after a user closes a context menu. |
ContextMenuOpened | Occurs after a user opens a context menu. |
ContextMenuOpening | Occurs before a user opens a context menu. |
CurrentColumnChanged | Occurs after the focused column has been changed. Inherited from DataControlBase. |
CurrentItemChanged | Occurs after the focused row is changed. Inherited from DataControlBase. |
CustomCellAppearance | Allows you to customize cell appearance. Inherited from DataControlBase. |
CustomColumnDisplayText | Allows you to customize a data cell’s display text. |
CustomColumnGroup | Provides the capability to group data using custom rules. |
CustomColumnSort | Enables you to sort data using custom rules. |
CustomGroupDisplayText | Allows you to display custom text in group rows. |
CustomRowFilter | Allows you to use custom rules to filter data rows. |
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. |
CustomUniqueValues | Allows you to specify unique values displayed in a column’s drop-down filter. Inherited from DataControlBase. |
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 is closed. |
InitNewRow | Allows you to initialize a new row with default values. |
InvalidRowException | Occurs when a row fails validation or cannot be saved to a data source. |
ItemsSourceChanged | Occurs after the DataControlBase.ItemsSource property has been changed. Inherited from DataControlBase. |
RowCanceled | Occurs when the changes made in a row are discarded. |
RowUpdated | Occurs when the GridControl updates the data source with the changes made within the focused row. |
SelectionChanged | Occurs after grid’s selection is changed. |
ShowFilterPopup | Enables you to customize a column’s drop-down filter. Inherited from DataControlBase. |
ShownEditor | Occurs after the focused cell’s editor is shown. |
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 | Allows you to validate row values. |
See Also