Defines a Pivot-based Layout

TypeScript
export interface PivotLayout extends
Extends

LayoutBase

Properties

PropertyDescription
PivotAggregationColumnsColumns showing aggregated values in Group Rows; 1st value in record is Column name, 2nd is either aggfunc (e.g. sum, avg etc.) or 'true' (to use default aggfunc)
PivotColumnsMandatory list of Columns to pivot (provide empty array if just displaying Aggregations)
PivotColumnTotalDisplay automatically calculated Totals within EACH Pivot Column Group, in the position specified
PivotExpandLevelHow deep to expand Pivot Columns (0 for none, 1 for 1st level only etc, -1 to expand all)
PivotGrandTotalDisplay automatically calculated Totals of all Pivot Columns, in the position specified
PivotGroupedColumnsColumns which are row-grouped when the Layout is applied
PivotResultColumnsOrderOrdered list of Pivot Result Columns; set to true to track current display order, or provide custom list
IsReadOnlySets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

Property Details

PivotAggregationColumns

Columns showing aggregated values in Group Rows; 1st value in record is Column name, 2nd is either aggfunc (e.g. sum, avg etc.) or 'true' (to use default aggfunc)

TypeScript
PivotAggregationColumns?: PivotAggregationColumns;
Property Value

PivotAggregationColumns

PivotColumns

Mandatory list of Columns to pivot (provide empty array if just displaying Aggregations)

TypeScript
PivotColumns: string[];
Property Value

string[]

PivotColumnTotal

Display automatically calculated Totals within EACH Pivot Column Group, in the position specified

TypeScript
PivotColumnTotal?: PivotTotalPosition;
Property Value

PivotTotalPosition

PivotExpandLevel

How deep to expand Pivot Columns (0 for none, 1 for 1st level only etc, -1 to expand all)

TypeScript
PivotExpandLevel?: number;
Property Value

number

PivotGrandTotal

Display automatically calculated Totals of all Pivot Columns, in the position specified

TypeScript
PivotGrandTotal?: PivotTotalPosition;
Property Value

PivotTotalPosition

PivotGroupedColumns

Columns which are row-grouped when the Layout is applied

TypeScript
PivotGroupedColumns?: string[];
Property Value

string[]

PivotResultColumnsOrder

Ordered list of Pivot Result Columns; set to true to track current display order, or provide custom list

TypeScript
PivotResultColumnsOrder?: string[] | boolean;
Property Value

string[] | boolean

IsReadOnly

Inherited from AdaptableObject

Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

TypeScript
IsReadOnly?: boolean;
Property Value

boolean