Data table
To create a sample toolbar web extension, specify this table and its values, including
the cell references and column headings.
B4:B20 | C4:C20 | D4:D20 | E4:E20 | F4:F20 | G4:G20 | H4:H20 | I4:I20 | J4:J20 |
---|---|---|---|---|---|---|---|---|
Id | Caption | Enabled | Visible | Selected | Parent | MediaName | Type | Tooltip |
Id1 | Primary Action | [shared image unique name] | Button with icon | |||||
Id2 | Splitter | splitter | ||||||
Id3 | Menu | [shared image unique name] | Menu button | |||||
Id4 | Heading1 | Id3 | heading | |||||
Id5 | Entry1 | Id3 | ||||||
Id6 | Entry 2 | Id3 | ||||||
Id7 | Heading 2 | Id3 | heading | |||||
Id8 | Entry 3 | Id3 | ||||||
Id9 | Toggle |
|
[shared image unique name] | icon | Toggle button | |||
Id10 | Icon only | icon | Icon-only button | |||||
Id11 | Toggle filter tag | more | ||||||
Id12 | Splitter | more | splitter | |||||
Id13 | Toggle suppression tag | more | ||||||
Id14 |
|
filter | Filter active on grid | |||||
Id15 |
|
zerosuppressionrow | Zero suppression active on rows |
The columns of the data table accept these values:
- Id: A unique ID for each element in the toolbar.
- Caption: The text displayed on a button.
- Enabled: TRUE, or empty ("") enables a button.
- Visible: TRUE, or empty ("") makes a button visible.
- Selected: For buttons designed to toggle between two states, TRUE highlights an element. FALSE or empty (") displays the element in the default color. This property is not relevant for other types of button.
- Parent: For menu items, the ID of the parent element.
- MediaName: The unique name of each shared image used for a button or icon.
- Tooltip: The tooltip text for an element.
- Type: Standard buttons:
- Empty
- Icon
- Heading
- Splitter
- Filter
- zerosuppressioncolumn
- zerosuppressionrow
- scalingthousands
- scalingmillions
- scalingbillions
Note: Images must be in .svg format, without any Fill attributes.
Otherwise, effects such as hover buttons do not work.