LayoutState
Layout section of Adaptable State, including Initial State.
Layouts is a non-empty list of table and pivot layouts. CurrentLayout is the Name loaded at startup; when omitted, the first layout is used. LayoutExtensions is how objects from other modules (Format Columns, Styled Columns, and so on) apply only in named layouts.
TypeScript
export interface LayoutState extendsExtends
Properties
| Property | Type | Description |
|---|---|---|
| CurrentLayout | string | Layout to be loaded when AdapTable starts (using Name property in Layout); if not provided the first Layout is used |
| LayoutExtensions | LayoutExtension[] | Objects from other Modules (e.g. Format Columns, Styled Columns) which apply only in specific Layouts |
| Layouts | LayoutArray | Collection of Layouts - can be Table or Pivot |
Property Details
CurrentLayout
Layout to be loaded when AdapTable starts (using Name property in Layout); if not provided the first Layout is used
TypeScript
CurrentLayout?: string;Property Value
string
LayoutExtensions
Objects from other Modules (e.g. Format Columns, Styled Columns) which apply only in specific Layouts
TypeScript
LayoutExtensions?: LayoutExtension[];Property Value
Layouts
Collection of Layouts - can be Table or Pivot
TypeScript
Layouts: LayoutArray;