import type { AdaptableColumnsContext } from '../../types'; import type { TypeHint } from './Types'; /** * Config used when transposing a Grid */ export interface TransposeConfig { /** * Column to use to do Transposition * @defaultValue Primary Key Column */ transposedColumnId?: string; /** * Hide the Transposed Column * @defaultValue true */ hideTransposedColumn?: boolean; /** * Ids of Columns to Transpose * @defaultValue all Grid Columns */ columnsToTranspose?: string[] | ((context: AdaptableColumnsContext) => string[]); /** * Rows to Transpose: All, Visible or via Expression * @defaultValue All */ rowsToTranspose?: TypeHint; }