LayoutOptions
Options for configuring Layouts; manage Column visibility, order, sorting, grouping, width etc.
export interfaceProperties
| Property | Type | Description | Default |
|---|---|---|---|
| autoCreateLayout | boolean |AutoCreateLayoutOptions | Creates a Default Layout based on AG Grid ColDefs, with optons to add a name and set if created on every load | undefined |
| autoRemoveDeletedColumnsFromLayouts | boolean | When a Calculated or Free Text Column is deleted, also remove it from all Layouts and layout properties | true |
| enableLayoutExtensionsUI | boolean | Show controls for extending objects (e.g. Alerts, Format Columns) into Layouts - a Layouts step in wizards and Add/Remove buttons in Settings Panel | false |
| isRowSelectionCheckboxVisible | (context:LayoutRowSelectionContext<TData>) => boolean | Sets if Row Selection checkbox should be visible for a given row | |
| layoutCreationDefaultProperties | LayoutCreationDefaultProperties| ((context:LayoutCreationDefaultPropertiesContext) =>TableLayoutCreationDefaultProperties|PivotLayoutCreationDefaultProperties) | Default properties to apply when creating a new Layout (Table or Pivot) | |
| layoutViewOptions | LayoutViewOptions | Set of options for how Layouts are displayed in Settings Panel | |
| pivotPreviewColumns | string[] | ((context:PivotPreviewColumnsContext) => string[]) | Columns to display in Table that opens when viewing Pivot Cell contents |
Property Details
autoCreateLayout
Creates a Default Layout based on AG Grid ColDefs, with optons to add a name and set if created on every load
autoCreateLayout?: boolean | AutoCreateLayoutOptions;Default Value
undefined
Property Value
boolean |AutoCreateLayoutOptions
autoRemoveDeletedColumnsFromLayouts
When a Calculated or Free Text Column is deleted, also remove it from all Layouts and layout properties
autoRemoveDeletedColumnsFromLayouts?: boolean;Default Value
true
Property Value
boolean
enableLayoutExtensionsUI
Show controls for extending objects (e.g. Alerts, Format Columns) into Layouts - a Layouts step in wizards and Add/Remove buttons in Settings Panel
enableLayoutExtensionsUI?: boolean;Default Value
false
Property Value
boolean
isRowSelectionCheckboxVisible
Sets if Row Selection checkbox should be visible for a given row
isRowSelectionCheckboxVisible?: (context: LayoutRowSelectionContext<TData>) => boolean;Property Value
(context:LayoutRowSelectionContext<TData>) => boolean
layoutCreationDefaultProperties
Default properties to apply when creating a new Layout (Table or Pivot)
layoutCreationDefaultProperties?: LayoutCreationDefaultProperties | ((context: LayoutCreationDefaultPropertiesContext) => TableLayoutCreationDefaultProperties | PivotLayoutCreationDefaultProperties);Property Value
LayoutCreationDefaultProperties| ((context:LayoutCreationDefaultPropertiesContext) =>TableLayoutCreationDefaultProperties|PivotLayoutCreationDefaultProperties)
layoutTagOptions
Tag-based layout extensions. Do not set this.
Extend an object into a Layout with Layout.LayoutExtensions in Adaptable State.
layoutTagOptions?: LayoutTagOptions;Deprecated
Layouts are extended through Layout.LayoutExtensions in Adaptable State
Property Value
layoutViewOptions
Set of options for how Layouts are displayed in Settings Panel
layoutViewOptions?: LayoutViewOptions;Property Value
pivotPreviewColumns
Columns to display in Table that opens when viewing Pivot Cell contents
pivotPreviewColumns?: string[] | ((context: PivotPreviewColumnsContext) => string[]);Property Value
string[] | ((context:PivotPreviewColumnsContext) => string[])