LayoutBase
Fields shared by a table layout and a pivot layout.
Name is required and is how CurrentLayout selects the layout. Sorts, filters, pinning, sizing, charts to open and row selection live here. The column list lives on or .
export interface LayoutBase extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| AutoSizeColumns | boolean | Whether Columns should autosize when Layout first loads |
| ColumnFilters | ColumnFilter[] | Collection of Column Filters to apply in Layout |
| ColumnGroupValues | ColumnGroupValues | Defines which Column Groups are expanded / collapsed |
| ColumnHeaders | ColumnStringMap | Set of custom header names for some (or all) Columns |
| ColumnPinning | ColumnDirectionMap | Columns pinned to an edge. Each entry is a column id set to 'left' or 'right'. Columns absent from the map are not pinned. |
| ColumnSizing | ColumnSizingMap | Controls size (width or flex & min/max) for Columns |
| ColumnSorts | ColumnSort[] | Sorting to apply in the Layout |
| GrandTotalRow | 'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | boolean | Where the grand total row is shown.'top', 'bottom', 'pinnedTop' or 'pinnedBottom'. true is the same as 'top'. false, or omitting the property, turns the grand total row off. |
| GridFilter | GridFilter | Grid Filter to apply in Layout |
| Name | string | Name of the Layout as it appears in the Layout toolbar and tool panel |
| OpenCharts | LayoutOpenChart[] | AG Grid charts to open when this layout is selected (by chart UUID or name) |
| RowGroupDisplayType | RowGroupDisplayType | How Row Groups are displayed: 'single' - one hierarchical group Column; 'multi' - a separate group Column per Row Grouped Column; 'groupRows' - full-width group rows (no group column); defaults to 'single' |
| RowGroupValues | RowGroupValues | Defines which Row Groups are expanded / collapsed |
| RowSelection | LayoutRowSelection | false | Defines Row Selection behaviour for Layout; if false, Row Selection is disabled; if undefined, GridOptions is used |
| SuppressAggFuncInHeader | boolean | Hides the aggFunc in Column header: e.g. 'sum(Price)' becomes 'Price' |
| IsReadOnly | boolean | Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full') |
Property Details
AutoSizeColumns
Whether Columns should autosize when Layout first loads
AutoSizeColumns?: boolean;Property Value
boolean
ColumnFilters
Collection of Column Filters to apply in Layout
ColumnFilters?: ColumnFilter[];Property Value
ColumnGroupValues
Defines which Column Groups are expanded / collapsed
ColumnGroupValues?: ColumnGroupValues;Property Value
ColumnHeaders
Set of custom header names for some (or all) Columns
ColumnHeaders?: ColumnStringMap;Property Value
ColumnPinning
Columns pinned to an edge. Each entry is a column id set to 'left' or 'right'. Columns absent from the map are not pinned.
ColumnPinning?: ColumnDirectionMap;Property Value
ColumnSizing
Controls size (width or flex & min/max) for Columns
ColumnSizing?: ColumnSizingMap;Property Value
ColumnSorts
Sorting to apply in the Layout
ColumnSorts?: ColumnSort[];Property Value
GrandTotalRow
Where the grand total row is shown.
'top', 'bottom', 'pinnedTop' or 'pinnedBottom'. true is the same as 'top'. false, or omitting the property, turns the grand total row off.
GrandTotalRow?: 'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | boolean;Property Value
'top' | 'bottom' | 'pinnedTop' | 'pinnedBottom' | boolean
GridFilter
Grid Filter to apply in Layout
GridFilter?: GridFilter;Property Value
Name
Name of the Layout as it appears in the Layout toolbar and tool panel
Name: string;Property Value
string
OpenCharts
AG Grid charts to open when this layout is selected (by chart UUID or name)
OpenCharts?: LayoutOpenChart[];Property Value
RowGroupDisplayType
How Row Groups are displayed: 'single' - one hierarchical group Column; 'multi' - a separate group Column per Row Grouped Column; 'groupRows' - full-width group rows (no group column); defaults to 'single'
RowGroupDisplayType?: RowGroupDisplayType;Property Value
RowGroupDisplayType
RowGroupValues
Defines which Row Groups are expanded / collapsed
RowGroupValues?: RowGroupValues;Property Value
RowSelection
Defines Row Selection behaviour for Layout; if false, Row Selection is disabled; if undefined, GridOptions is used
RowSelection?: LayoutRowSelection | false;Property Value
LayoutRowSelection | false
SuppressAggFuncInHeader
Hides the aggFunc in Column header: e.g. 'sum(Price)' becomes 'Price'
SuppressAggFuncInHeader?: boolean;Property Value
boolean
IsReadOnly
Inherited from AdaptableObject
Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
IsReadOnly?: boolean;Property Value
boolean