LayoutBase

TypeScript
export interface LayoutBase extends
Extends

AdaptableObject

Properties

PropertyTypeDescription
AutoSizeColumnsbooleanWhether Columns should autosize when Layout first loads
ColumnFiltersColumnFilter[]Collection of Column Filters to apply in Layout
ColumnGroupValuesColumnGroupValuesDefines which Column Groups are expanded / collapsed
ColumnHeadersColumnStringMapSet of custom header names for some (or all) Columns
ColumnPinningColumnDirectionMapDetails of which Columns are pinned
ColumnSizingColumnSizingMapControls size (width or flex & min/max) for Columns
ColumnSortsColumnSort[]Sorting to apply in the Layout
GrandTotalRow'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | booleanPosition of the Grand Total Row in the Layout
GridFilterGridFilterGrid Filter to apply in Layout
NamestringName of the Layout as it appears in the Layout toolbar and tool panel
OpenChartsLayoutOpenChart[]AG Grid charts to open when this layout is selected (by chart UUID or name)
RowGroupDisplayTypeRowGroupDisplayType
RowGroupValuesRowGroupValuesDefines which Row Groups are expanded / collapsed
RowSelectionLayoutRowSelection | falseDefines Row Selection behaviour for Layout; if false, Row Selection is disabled; if undefined, GridOptions is used
SuppressAggFuncInHeaderbooleanHides the aggFunc in Column header: e.g. 'sum(Price)' becomes 'Price'
IsReadOnlybooleanSets 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

OpenCharts

AG Grid charts to open when this layout is selected (by chart UUID or name)

TypeScript
OpenCharts?: LayoutOpenChart[];
Property Value

LayoutOpenChart[]

RowGroupDisplayType

TypeScript
RowGroupDisplayType?: RowGroupDisplayType;
Property Value

RowGroupDisplayType

RowGroupValues

Defines which Row Groups are expanded / collapsed

TypeScript
RowGroupValues?: RowGroupValues;
Property Value

RowGroupValues

RowSelection

Defines Row Selection behaviour for Layout; if false, Row Selection is disabled; if undefined, GridOptions is used

TypeScript
RowSelection?: LayoutRowSelection | false;
Property Value

LayoutRowSelection | false

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