HeaderShift Method (FlexDataGrid)

Class

FlexDataGrid class

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

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.