ColumnOrderChangedEx Event
Description
Occurs when the order of the columns changes.
Syntax
Public Event ColumnOrderChangedEx( _
ByVal [Column](#) As [GridColumn](XtremeGridControl~GridColumn.md), _
ByVal [Reason](#) As [XTPGridColumnOrderChangedReason](XtremeGridControl~Enumerations~XTPGridColumnOrderChangedReason_EN.md) _
)
Parameters
- Column: Affected column.
- Reason: Reason the event occurred (The reason a column's order has changed).
Change Reasons
| Value | Description |
|---|---|
| xtpGridColumnChangeOther | Neither column order nor group order is changed. |
| xtpGridColumnOrderChanged | Column order changed. |
| xtpGridColumnGroupOrderChanged | Group order changed. |
| xtpGridColumnOrderChangedMask | A mask for order change flags. |
| xtpGridColumnAdded | A column is added to the column list. |
| xtpGridColumnRemoved | A column is removed from the column list. |
| xtpGridColumnPropExchange | The column properties changed during properties exchange procedure. |
| xtpGridColumnCaptionChanged | The column caption is changed. |
| xtpGridColumnWidthChanged | The column width is changed. |
| xtpGridColumnShown | A column visibility property is changed to "visible". |
| xtpGridColumnHidden | A column visibility property is changed to "hidden". |
| xtpGridColumnMoved | A column is moved. |
| xtpGridColumnAddedToGroupby | A column is added to the GroupBy box. |
| xtpGridColumnRemovedFromGroupby | A column is removed from the GroupBy box. |
| xtpGridColumnAddedToFieldChooser | A column is added to the Field Chooser. |
| xtpGridColumnRemovedFromFieldChooser | A column is removed from the Field Chooser. |
| xtpGridColumnChangeMask | A mask for column change flags. |
Remarks
This event occurs when a column's order is changed by the user dragging the column to another position, when a column header is dragged into the Group By box, when the order of the column headers changes in the Group By box, when a column header is clicked on and/or dragged in the FieldChooser, and when a column header is added to the FieldChooser.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.