Base object for both Table and Pivot Layouts

TypeScript
export interface LayoutBase extends
Extends

AdaptableObject

Properties

PropertyDescription
AutoSizeColumnsWhether Columns should autosize when Layout first loads
ColumnFiltersCollection of Column Filters to apply in Layout
ColumnGroupValuesDefines which Column Groups are expanded / collapsed
ColumnHeadersSet of custom header names for some (or all) Columns
ColumnPinningDetails of which Columns are pinned
ColumnSizingControls size (width or flex & min/max) for Columns
ColumnSortsSorting to apply in the Layout
GrandTotalRowPosition of the Grand Total Row in the Layout
GridFilterGrid Filter to apply in Layout
NameName of the Layout as it appears in the Layout toolbar and tool panel
RowGroupDisplayTypeDisplay Row Grouped Columns as 'single' or 'multi' column
RowGroupValuesDefines which Row Groups are expanded / collapsed
SuppressAggFuncInHeaderHides the aggFunc in Column header: e.g. 'sum(Price)' becomes 'Price'
IsReadOnlySets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')

Property Details

AutoSizeColumns

Whether Columns should autosize when Layout first loads

TypeScript
AutoSizeColumns?: boolean;
Property Value

boolean

ColumnFilters

Collection of Column Filters to apply in Layout

TypeScript
ColumnFilters?: ColumnFilter[];
Property Value

ColumnFilter[]

ColumnGroupValues

Defines which Column Groups are expanded / collapsed

TypeScript
ColumnGroupValues?: ColumnGroupValues;
Property Value

ColumnGroupValues

ColumnHeaders

Set of custom header names for some (or all) Columns

TypeScript
ColumnHeaders?: ColumnStringMap;
Property Value

ColumnStringMap

ColumnPinning

Details of which Columns are pinned

TypeScript
ColumnPinning?: ColumnDirectionMap;
Property Value

ColumnDirectionMap

ColumnSizing

Controls size (width or flex & min/max) for Columns

TypeScript
ColumnSizing?: ColumnSizingMap;
Property Value

ColumnSizingMap

ColumnSorts

Sorting to apply in the Layout

TypeScript
ColumnSorts?: ColumnSort[];
Property Value

ColumnSort[]

GrandTotalRow

Position of the Grand Total Row in the Layout

TypeScript
GrandTotalRow?: 'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | boolean;
Property Value

'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | boolean

GridFilter

Grid Filter to apply in Layout

TypeScript
GridFilter?: GridFilter;
Property Value

GridFilter

Name

Name of the Layout as it appears in the Layout toolbar and tool panel

TypeScript
Name: string;
Property Value

string

RowGroupDisplayType

Display Row Grouped Columns as 'single' or 'multi' column

TypeScript
RowGroupDisplayType?: 'single' | 'multi';
Property Value

'single' | 'multi'

RowGroupValues

Defines which Row Groups are expanded / collapsed

TypeScript
RowGroupValues?: RowGroupValues;
Property Value

RowGroupValues

SuppressAggFuncInHeader

Hides the aggFunc in Column header: e.g. 'sum(Price)' becomes 'Price'

TypeScript
SuppressAggFuncInHeader?: boolean;
Property Value

boolean

IsReadOnly

Inherited from AdaptableObject

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

TypeScript
IsReadOnly?: boolean;
Property Value

boolean