Table style attributes

Table presentation style attributes apply to a TABLE container.

Note: This topic lists presentation style attributes for a specific class of form element, common presentation style attributes can also be used for this type of element.
Table 1. Table style attributes
Attribute GDC GBC GMA GMI
allowWebSelection

Users need to select items from a table. Once selected, the keyboard shortcut for copying data can be used to copy the selection.

Values can be "yes" or "no" (default).

When allowWebSelection="no", item selection requires the user to hold down the CTRL key while dragging over the selection with the mouse.

When allowWebSelection="yes", item selection requires a mouse drag only. There is no need to press the CTRL key. However, the ability to drag-and-drop data is disabled.

No Yes No No
forceDefaultSettings

Values can be "yes" or "no" (default).

By default, tables are reopened with column positions, visibility and sizes they had when the window was closed. By settin g this attribute to true, the saved settings are ignored and the table gets the initial column layout. Note that the saved settings include also the sort columns, that will impact on the order of the rows in the table.

Yes Yes No No
headerAlignment

Defines the column header alignment in a table.

Values can be:
  • "default" (default): will use the system default. In most case it is left aligned.
  • "left" will force all column headers to be left aligned.
  • "center" will force all column headers to be centered.
  • "right" will force all column headers to be right aligned.
  • "auto" will first try to align each column header following the "justify" attribute of the column. If no "justify" attribute is set, the column header will be aligned based on the type of data: right for numeric data, left for text data.
Yes Yes No No
headerHidden

Defines if the horizontal header must be visible in a table.

Values can be "yes" or "no" (default).

Yes Yes No No
highlightColor

Defines the highlight color of rows for the TABLE, used for selected rows.

For possible values, see Colors.

For more details see Row and cell highlighting in TABLE.

Yes Yes Yes No
highlightCurrentCell

Indicates if the current cell is highlighted in a TABLE, with system default highlight colors, or the colors defined by the highlightColor/highlightTextColor style attributes.

Values can be "yes","no" (default depends on front-end and dialog type)

For more details see Row and cell highlighting in TABLE.

Yes Yes Yes Yes
highlightCurrentRow

Indicates if the current row is highlighted in a TABLE, with the system default highlight colors, or the colors defined by the highlightColor/highlightTextColor style attributes.

Values can be "yes" or "no" (default depends on front-end and dialog type)

For more details see Row and cell highlighting in TABLE.

Yes Yes Yes Yes
highlightTextColor

Defines the highlighted text color of rows for the TABLE, used for selected rows.

For possible values, see Colors.

For more details see Row and cell highlighting in TABLE.

Yes Yes Yes No
leftFrozenColumns

Requires "tableType" set to "frozenTable".

Defines how many columns are frozen, starting from the left of the table.

Values can be any numeric value matching the number of columns.

Default is "0".

Yes Yes No No
resizeFillsEmptySpace

Defines if the resize of the table adapts the size of the last column to avoid unused space.

Values can be "yes" or "no" (default).

Yes Yes No No
reduceFilter

Controls the usage of a reduce filter on tables.

Values can be "yes" (default) or "no".

For more details see Reduce filter.

N/A N/A Yes No
rightFrozenColumns

Requires "tableType" set to "frozenTable".

Defines how many columns are frozen, starting from the right of the table.

Values can be any numeric value matching the number of columns.

Default is "0".

Yes Yes No No

rowActionTrigger

Defines the physical event that will fire the row selection action (DOUBLECLICK) in a table.

Values can be "singleClick" or "doubleClick".

Default is "doubleClick": a left-double-click triggers the action.

Yes Yes No No
showGrid

Indicates if the grid lines must be visible in a table.

Values can be "yes" (default with INPUT ARRAY) or "no" (default with DISPLAY ARRAY).

By default, when a table is editable (when controlled by an INPUT ARRAY), the front-end displays grid lines in the table. You can change this behavior by setting the showGrid attribute to "no".

By default, when a table is read-only (when controlled by a DISPLAY ARRAY), the front-end does not display grid lines in the table. You can change this behavior by setting the showGrid attribute to "yes".

Yes Yes No No
summaryLineAlwaysAtBottom

Defines the placement of the summary row containing aggregate fields.

Values can be "yes" or "no" (default).

When set to "yes", the row containing aggregate fields is rendered in the last line of the table.

When set to "no", the row containing aggregate fields is rendered immediately after the values being aggregated. This is the default.

Yes No No No
tableType

Defines the rendering type of the table.

Important: The tableType style attribute cannot be changed dynamically, once the widget has been displayed.
Values can be:
  • "normal" (default): Regular table rendering.
  • "pictureFlow": The first column of the table is used to define the list of images to be used in the picture flow.
    Note: pictureFlow is only supported by GDC.
  • "frozenTable": Users can "freeze" some columns when scrolling, so that they always remain visible. Default frozen columns can be defined with "leftFrozenColumns" and "rightFrozenColumns" attributes.
  • "listView": The table is rendered as a mobile list view.
    Note: listView is only supported by GBC.
Yes (see note) Yes (see note) No No