UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

28 lines (27 loc) 763 B
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<string, 'VisibleOnly' | 'All'>; }