TransposeConfig
Config used when transposing a Grid
TypeScript
export interfaceProperties
| Property | Type | Description | Default |
|---|---|---|---|
| columnsToTranspose | string[] | ((context:AdaptableColumnsContext) => string[]) | Ids of Columns to Transpose | all Grid Columns |
| hideTransposedColumn | boolean | Hide the Transposed Column | true |
| rowsToTranspose | TypeHint<string, 'VisibleOnly' | 'All'> | Which rows are transposed. 'All' (the default, also used when omitted) takes every row. 'VisibleOnly' takes the rows currently visible. Any other string is a boolean AdapTableQL expression, and only matching rows are transposed. | All |
| transposedColumnId | string | Column to use to do Transposition | Primary 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
Which rows are transposed. 'All' (the default, also used when omitted) takes every row. 'VisibleOnly' takes the rows currently visible. Any other string is a boolean AdapTableQL expression, and only matching rows are transposed.
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