Config used when transposing a Grid

TypeScript
export interface

Properties

PropertyDescriptionDefault
columnsToTransposeIds of Columns to Transposeall Grid Columns
hideTransposedColumnHide the Transposed Columntrue
rowsToTransposeRows to Transpose: All, Visible or via ExpressionAll
transposedColumnIdColumn to use to do TranspositionPrimary Key Column

Property Details

columnsToTranspose

Ids of Columns to Transpose

TypeScript
columnsToTranspose?: string[] | ((context: AdaptableColumnsContext) => string[]);
Default Value

all Grid Columns

Property Value

string[] | ((context:AdaptableColumnsContext) => string[])

hideTransposedColumn

Hide the Transposed Column

TypeScript
hideTransposedColumn?: boolean;
Default Value

true

Property Value

boolean

rowsToTranspose

Rows to Transpose: All, Visible or via Expression

TypeScript
rowsToTranspose?: TypeHint<string, 'VisibleOnly' | 'All'>;
Default Value

All

Property Value

TypeHint<string, 'VisibleOnly' | 'All'>

transposedColumnId

Column to use to do Transposition

TypeScript
transposedColumnId?: string;
Default Value

Primary Key Column

Property Value

string