Configuring the Settings Panel
Summary
- The Settings Panel can be configured by developers at design-time, including:
- order and visibility of the Custom Panel sections
- title, position, size and poup type of the window
Developers are able to configure and extend the Settings Panel in multiple ways.
This is achieved by using properties in Settings Panel Options.
Settings Panel Items & Order
AdapTable provides a default order for the items in the Settings Panel (displayed on the left).
The navigation property of Settings Panel Options can be used to provide a different set of Settings Panels
navigation
Default: Order provided by AdapTableModules- This demo shows the Settings Panel with a changed order of the Panel Modules
- We have removed some Items, changed the order, and added extra separators
Expand to see the Settings Panel Options
Other Settings Panel Options
There are many other properties in Settings Panel Options which can be used to set up the Setings Panel.
These properties include (full details of each option is shown below):
- the title displayed
- the icon displayed
- its position and size
- the popup type (i.e. modal or window)
- whether to display icons in Module List
Hint
Users can also configure the Settings Panel to display Custom Panels
- This demo shows the Settings Panel with some configuration properties set, including:
- Changing the title to 'Config Viewer'
- Displaying the Application Icon (which was provided in User Interface Options)
- Moving the position to 15, 15
- Reducing the size to 800 x 400
- Hiding the Module Icons in the list
Expand to see the Settings Panel Options
Showing Settings Panel Button
AdapTable provides 2 options for whether the Settings Panel button is always displayed in other UI Components:
alwaysShowInDashboardalwaysShowInToolPanel
Note
If set to true the Button is always displayed irrespective of what is set in Dashboard and ToolPanel settings
alwaysShowInDashboard
Default: falseBooleanalwaysShowInToolPanel
Default: falseBooleanIcons
AdapTable provides 2 properties relating to Icons in the Settings Panel:
icon- sets the Icon which is displayed at the top left of the Settings PanelshowModuleIcons- whether the Settings Panel will show the icon for each Module that it lists
icon
Default: ConfigurationIconConfigurationIcon | Application Icon | Adaptable IconshowModuleIcons
Default: truebooleanSettings Panel Behaviour
AdapTable provides 4 addtional properties that can be used to set how the Settings Panel looks and behaves:
popupType- modeal or windowposition- using x, y valuessize- setting width and heighttitle- providing an alternative title
popupType
Default: windowwindow | modalposition
Default: Middle of Screen2 numberssize
Default: Computed based on screen size2 numberstitle
Default: nullstring