Grid API
ColumnMoveApi<T>
Provides methods to rearrange columns within the Graphite Grid.
Type parameters
Type parameter |
---|
T |
Properties
- Name
isColumnMoveable
- Type
- (column: ColumnOrColumnId<T>) => boolean
- Description
Determines if a column can be moved.
column
: Column or column ID to check.
- Name
moveColumnsExn
- Type
- (columns: ColumnOrColumnId<T>[], to: number) => void
- Description
Moves specified columns to a new index.
columns
: Array of columns or column IDs to move.to
: Target index to move the columns to.
- Name
movePivotColumnsExn
- Type
- (columns: ColumnOrColumnId<T>[], to: number) => void
- Description
Moves specified pivot columns to a new index.
columns
: Array of pivot columns or column IDs to move.to
: Target index to move the pivot columns to.