Usage and example

This example describes how to create a report with multiple sections. Sections can be visible or you hide them by clicking a corresponding tab.

To configure the tab control web extension, you must specify these parameters:

  • Theme: Defines the color theme. Specify "Vibrant" or "Subtle". "Subtle" is the default.
  • Mode: Defines the color. Specify "Light", "Dark", "High Contrast", or empty value "". The empty string value equals the "Light" value.
  • Type: Defines the layout of the tab control. Specify "Horizontal" or "Vertical". "Horizontal" is the default.
  • Selected tab: Holds a unique name of a selected tab.
  • List of items: Defines a cell range of an item unique name, which contain action.
  • Item data: Refers to a range of cells that contain the tab control properties, or a cell that contains an XML file with the same data. The first column of the data range is reserved for the keys of items. In an XML file, the keys are represented by rows.

    These item data properties are optional:

    Property Type
    Caption String
    Enabled Boolean
    Visible Boolean
    Tooltip String
    Parent Item unique name
    MediaName Shared image unique name
    Type Standard, information, error, alert, good, neutral, warning, dirty, progress, empty ""