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

Default: Order provided by AdapTable
Modules
Order of Modules (with separators) in the Settings Panel
Setting Items in Settings Panel
Fork
  • 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

Customising the Settings Panel
Fork
  • 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:

  • alwaysShowInDashboard
  • alwaysShowInToolPanel

Note

If set to true the Button is always displayed irrespective of what is set in Dashboard and ToolPanel settings

alwaysShowInDashboard

Default: false
Boolean
Whether the Settings Panel button is always displayed in the Dashboard

alwaysShowInToolPanel

Default: false
Boolean
Whether the Settings Panel button is always displayed in the Adaptable Tool Panel

Icons

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 Panel
  • showModuleIcons - whether the Settings Panel will show the icon for each Module that it lists

icon

Default: ConfigurationIcon
ConfigurationIcon | Application Icon | Adaptable Icon
Which Icon to display for the Settings Panel

showModuleIcons

Default: true
boolean
Whether to display the icon for each listed Module

Settings Panel Behaviour

AdapTable provides 4 addtional properties that can be used to set how the Settings Panel looks and behaves:

  • popupType - modeal or window
  • position - using x, y values
  • size - setting width and height
  • title - providing an alternative title

popupType

Default: window
window | modal
Configures how the Settings Panel Popup Behaves

position

Default: Middle of Screen
2 numbers
Where the Settings Panel is positioned

size

Default: Computed based on screen size
2 numbers
Size of the Settings Panel

title

Default: null
string
Title of the Settings Panel