The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.

Declaration

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

Parameters

Name Type Description
column ASPxClientGridViewColumn | number | string

An ASPxClientGridViewColumn object that represents the column to move.

Optional Parameters

Name Type Default Description
moveToColumnVisibleIndex number null

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

moveBefore boolean | ASPxClientGridColumnMovingTargetPosition null

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

moveToGroup boolean null

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

moveFromGroup boolean null

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

See Also