SettingsPanelOptions

View as Markdown

Options for managing the AdapTable Settings Panel

TypeScript
export interface

Properties

PropertyTypeDescriptionDefault
alwaysShowInToolPanelbooleanWhether a Settings Panel button should always be displayed in ModuleButtons area of ToolPanelfalse
customSettingsPanelsCustomSettingsPanel[]Custom Settings Panels provided by developers at design-time
displayOptionsSettingsPanelDisplayOptionsDisplay / chrome options for Settings Panel navigation (icons, descriptions, search, collapse).
gridInfoTabsGridInfoTabsWhich Tabs to show in Grid Info: 'Grid Summary', 'Layout', 'Grid State' or 'Grid Options'

Tab labels in the UI are Summary, Layout, State and Options
['Grid Summary', 'Layout', 'Grid State', 'Grid Options']
icon'ConfigurationIcon' | 'ApplicationIcon' |AdaptableIconIcon shown in top left of Settings Panel: Can be ConfigurationIcon, ApplicationIcon or custom Icon.

When omitted, uses 'ApplicationIcon' if userInterfaceOptions.applicationIcon is set,
otherwise 'ConfigurationIcon'.
'ApplicationIcon' when an application icon is provided, else 'ConfigurationIcon'
navigationSettingsPanelNavigationConfigurer|LegacyFlatSettingsPanelNavigationConfigure grouped navigation for the Settings Panel; use SettingsPanelNavigationConfigurer but backwards compatibility via the deprecated LegacyFlatSettingsPanelNavigation is supportedall available AdapTable modules in the default grouped order
popupTypePopupTypeHow the Settings Panel is rendered: 'modal' (centred and unmovable and resizable) or 'window' (supports size, position, drag and resize); ignored if containerOptions.modalContainer is set'modal'
positionWindowPositionInitial position of Settings Panel — pixel offset of top-left corner from top-left of viewport (requires popupType to be 'window')Middle of Screen
sizeWindowSizeInitial size (in pixels) of Settings Panel (requires popupType to be 'window')Computed based on size of screen
titlestringRuntime display name for the panel chrome, menus, and tooltips. End users never see the
internal name “Settings Panel” — they see this title instead.

When omitted, resolves to AdaptableOptions.adaptableId if that is a meaningful
(non-generic) value, otherwise 'Grid Settings'.
adaptableId, or 'Grid Settings' when adaptableId is unset / generic

Property Details

alwaysShowInToolPanel

Whether a Settings Panel button should always be displayed in ModuleButtons area of ToolPanel

TypeScript
alwaysShowInToolPanel?: boolean;
Default Value

false

Property Value

boolean

customSettingsPanels

Custom Settings Panels provided by developers at design-time

TypeScript
customSettingsPanels?: CustomSettingsPanel[];
Property Value

CustomSettingsPanel[]

displayOptions

Display / chrome options for Settings Panel navigation (icons, descriptions, search, collapse).

TypeScript
displayOptions?: SettingsPanelDisplayOptions;
Property Value

SettingsPanelDisplayOptions

gridInfoTabs

Which Tabs to show in Grid Info: 'Grid Summary', 'Layout', 'Grid State' or 'Grid Options'

Tab labels in the UI are Summary, Layout, State and Options

TypeScript
gridInfoTabs?: GridInfoTabs;
Default Value

['Grid Summary', 'Layout', 'Grid State', 'Grid Options']

Property Value

GridInfoTabs

icon

Icon shown in top left of Settings Panel: Can be ConfigurationIcon, ApplicationIcon or custom Icon.

When omitted, uses 'ApplicationIcon' if userInterfaceOptions.applicationIcon is set, otherwise 'ConfigurationIcon'.

TypeScript
icon?: 'ConfigurationIcon' | 'ApplicationIcon' | AdaptableIcon;
Default Value

'ApplicationIcon' when an application icon is provided, else 'ConfigurationIcon'

Property Value

'ConfigurationIcon' | 'ApplicationIcon' |AdaptableIcon

Configure grouped navigation for the Settings Panel; use SettingsPanelNavigationConfigurer but backwards compatibility via the deprecated LegacyFlatSettingsPanelNavigation is supported

TypeScript
navigation?: SettingsPanelNavigationConfigurer | LegacyFlatSettingsPanelNavigation;
Default Value

all available AdapTable modules in the default grouped order

Property Value

SettingsPanelNavigationConfigurer|LegacyFlatSettingsPanelNavigation

popupType

How the Settings Panel is rendered: 'modal' (centred and unmovable and resizable) or 'window' (supports size, position, drag and resize); ignored if containerOptions.modalContainer is set

TypeScript
popupType?: PopupType;
Default Value

'modal'

Property Value

PopupType

position

Initial position of Settings Panel — pixel offset of top-left corner from top-left of viewport (requires popupType to be 'window')

TypeScript
position?: WindowPosition;
Default Value

Middle of Screen

Property Value

WindowPosition

showModuleDescriptions

Whether module descriptions show under each name. Set displayOptions.showModuleDescriptions instead.

TypeScript
showModuleDescriptions?: boolean;
Deprecated

Use displayOptions.showModuleDescriptions instead.

Default Value

true

Property Value

boolean

showModuleIcons

Whether module icons show in the navigation. Set displayOptions.showModuleIcons instead.

TypeScript
showModuleIcons?: boolean;
Deprecated

Use displayOptions.showModuleIcons instead.

Default Value

true

Property Value

boolean

size

Initial size (in pixels) of Settings Panel (requires popupType to be 'window')

TypeScript
size?: WindowSize;
Default Value

Computed based on size of screen

Property Value

WindowSize

title

Runtime display name for the panel chrome, menus, and tooltips. End users never see the internal name “Settings Panel” — they see this title instead.

When omitted, resolves to AdaptableOptions.adaptableId if that is a meaningful (non-generic) value, otherwise 'Grid Settings'.

TypeScript
title?: string;
Default Value

adaptableId, or 'Grid Settings' when adaptableId is unset / generic

Property Value

string