Settings Panel Technical Reference

Summary

  • The Settings Panel API allows the Settings Panel to be opened programmatically
  • This includes opening Custom Settings Panels

Settings Panel Options

The Settings Panel Options section contains many useful configuration properties:

PropertyTypeDescriptionDefault
alwaysShowInDashboardbooleanWhether a Settings Panel button should always be displayed in ModuleButtons area of Dashboardfalse
alwaysShowInToolPanelbooleanWhether a Settings Panel button should always be displayed in ModuleButtons area of ToolPanelfalse
customSettingsPanelsCustomSettingsPanel[]Custom Settings Panels provided by developers at design-time
gridInfoTabsGridInfoTabsWhich Tabs can be used to display Grid Info: 'Grid Options', 'Grid Summary' or 'Grid State'['Grid Options', 'Grid Summary', 'Grid State']
icon'ConfigurationIcon' | 'ApplicationIcon' |AdaptableIconIcon shown in top left of Settings Panel: Can be ConfigurationIcon, ApplicationIcon or custom IconConfigurationIcon
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)'modal'
positionSettingsPanelPositionInitial position of Settings Panel — pixel offset of top-left corner from top-left of viewport (requires popupType to be 'window')Middle of Screen
showModuleIconsbooleanWhether to show Icons for each Module in the Setting Paneltrue
sizeSettingsPanelSizeInitial size (in pixels) of Settings Panel (requires popupType to be 'window')Computed based on size of screen
titlestringTitle for Settings Panel'Settings Panel'

Settings Panel API

The Settings Panel API section provides a couple of functions to show the Settings Panel:

MethodReturnsDescription
closeSettingsPanel()voidCloses Settings Panel
openCustomSettingsPanel(name)voidOpens Settings Panel with the Custom Settings Panel, provided by name, displayed
openSettingsPanel(moduleName)voidOpens Settings Panel and displays specified Module (if provided) or first available one