HeaderShift Method (FlexDataGrid)

Action

Dispatched when the user releases the mouse button on a column header after having dragged the column to a new location resulting in shifting the column to a new index.

Syntax

C#
dataGrid.HeaderShift(newIndex, oldIndex, [triggerEvent])
VB
dataGrid.HeaderShift(newIndex, oldIndex, [triggerEvent])
Variable Description
newIndex The zero-based index of the header after the change. Integer.
oldIndex The zero-based index of the header before the change. Integer.
triggerEvent Optional: The event, such as a mouse or keyboard event, that triggered the action. FlexTriggerEvent.