TransposeConfig
Config used when transposing a Grid
TypeScript
export interfaceProperties
| Property | Description | Default |
|---|---|---|
| columnsToTranspose | Ids of Columns to Transpose | all Grid Columns |
| hideTransposedColumn | Hide the Transposed Column | true |
| rowsToTranspose | Rows to Transpose: All, Visible or via Expression | All |
| transposedColumnId | 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
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