SettingsPanelOptions
Options for managing the AdapTable Settings Panel
export interfaceProperties
| Property | Type | Description | Default |
|---|---|---|---|
| alwaysShowInToolPanel | boolean | Whether a Settings Panel button should always be displayed in ModuleButtons area of ToolPanel | false |
| customSettingsPanels | CustomSettingsPanel[] | Custom Settings Panels provided by developers at design-time | |
| displayOptions | SettingsPanelDisplayOptions | Display / chrome options for Settings Panel navigation (icons, descriptions, search, collapse). | |
| gridInfoTabs | 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 | ['Grid Summary', 'Layout', 'Grid State', 'Grid Options'] |
| icon | 'ConfigurationIcon' | 'ApplicationIcon' |AdaptableIcon | 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'. | 'ApplicationIcon' when an application icon is provided, else 'ConfigurationIcon' |
| navigation | SettingsPanelNavigationConfigurer|LegacyFlatSettingsPanelNavigation | Configure grouped navigation for the Settings Panel; use SettingsPanelNavigationConfigurer but backwards compatibility via the deprecated LegacyFlatSettingsPanelNavigation is supported | all available AdapTable modules in the default grouped order |
| popupType | 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 | 'modal' |
| position | WindowPosition | Initial position of Settings Panel — pixel offset of top-left corner from top-left of viewport (requires popupType to be 'window') | Middle of Screen |
| size | WindowSize | Initial size (in pixels) of Settings Panel (requires popupType to be 'window') | Computed based on size of screen |
| title | string | 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'. | 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
alwaysShowInToolPanel?: boolean;Default Value
false
Property Value
boolean
customSettingsPanels
Custom Settings Panels provided by developers at design-time
customSettingsPanels?: CustomSettingsPanel[];Property Value
displayOptions
Display / chrome options for Settings Panel navigation (icons, descriptions, search, collapse).
displayOptions?: SettingsPanelDisplayOptions;Property Value
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
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'.
icon?: 'ConfigurationIcon' | 'ApplicationIcon' | AdaptableIcon;Default Value
'ApplicationIcon' when an application icon is provided, else 'ConfigurationIcon'
Property Value
'ConfigurationIcon' | 'ApplicationIcon' |AdaptableIcon
navigation
Configure grouped navigation for the Settings Panel; use SettingsPanelNavigationConfigurer but backwards compatibility via the deprecated LegacyFlatSettingsPanelNavigation is supported
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
popupType?: PopupType;Default Value
'modal'
Property Value
position
Initial position of Settings Panel — pixel offset of top-left corner from top-left of viewport (requires popupType to be 'window')
position?: WindowPosition;Default Value
Middle of Screen
Property Value
showModuleDescriptions
Whether module descriptions show under each name. Set displayOptions.showModuleDescriptions instead.
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.
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')
size?: WindowSize;Default Value
Computed based on size of screen
Property Value
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'.
title?: string;Default Value
adaptableId, or 'Grid Settings' when adaptableId is unset / generic
Property Value
string