ASPxClientGridView.MoveColumn(column) Method

Moves the specified column to the specified visual position within the grid and optionally groups or ungroups the grid's data by this column.


    column: ASPxClientGridViewColumn | number | string,
    moveToColumnVisibleIndex?: number,
    moveBefore?: boolean | ASPxClientGridColumnMovingTargetPosition,
    moveToGroup?: boolean,
    moveFromGroup?: boolean
): void


Name Type Description
column ASPxClientGridViewColumn | number | string

An ASPxClientGridViewColumn object that represents the column to move.

moveToColumnVisibleIndex number

An integer value that identifies the target column displayed within the grid.

moveBefore boolean | ASPxClientGridColumnMovingTargetPosition

true to move the column before the target column; otherwise, false.

moveToGroup boolean

true to group the grid's data by the column; otherwise, false.

moveFromGroup boolean

true to ungroup the grid's data by the column; otherwise, false.

See Also