Table style attributes

Table style presentation attributes apply to a table element.

Table 1. Table style attributes
Attribute Description GDC CLIENT HTML5 CLIENT
forceDefaultSettings

Indicates if the table must be initialized with the saved columns positions and sizes. By default, tables are reopened with column positions and sizes they had when the window was closed. You can force the use of the initial settings with this attribute.

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

Yes 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 according to the "justify" attribute of the column. If no "justify" attribute is set, the column header will be aligned according to the type of data: right for numeric data, left for text data.
Yes Yes
headerHidden

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

Values can be "yes","no" (default). (1 or 0 on older front-ends).

Yes Yes
highlightColor

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

For possible values, see Colors.

Yes Yes
highlightCurrentCell Indicates if the current cell must be highlighted in a table.

Values can be "yes","no" (default). (1 or 0 on older front-ends).

By default the current edit cell in table has a white background. You can change this behavior by setting this attribute to "yes", to use the same color as when highlightCurrentRow is used. Only some type of cells, checkboxes for example, can be highlighted. Normal editor cells stay in white, because this is the editor background color.

Yes Yes
highlightCurrentRow Indicates if the current row must be highlighted in a table during an INPUT ARRAY.

Values can be "yes","no" (default). (1 or 0 on older front-ends).

By default, when a table is in read-only mode (DISPLAY ARRAY), the front-end automatically highlights the current row. But in editable mode (INPUT ARRAY), no row highlighting is done by default. You can change this behavior by setting this attribute to "yes".

Yes Yes
highlightTextColor

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

For possible values, see Colors.

Yes Yes
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 with the number of columns.

Default is "0".

Yes Yes
resizeFillsEmptySpace

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

Values can be "yes","no" (default). (1 or 0 on older front-ends).

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 with the number of columns.

Default is "0".

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

Values can be "yes" (default when INPUT ARRAY),"no" (default when DISPLAY ARRAY). (1 or 0 on older front-ends).

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

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

Yes Yes
summaryLineAlwaysAtBottom Defines the placement of the summary row containing aggregate fields.

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
tableType Defines the rendering type of the table.
Values can be:
  • "normal" (default): Regular table rendering.
  • "pictureFlow": The first column of the table will be used to define the list of images to be used in the picture flow.
  • "frozenTable": Users can "freeze" some columns from scrolling, so that they always remain visible. Default frozen columns can be defined with "leftFrozenColumns" and "rightFrozenColumns" attributes.
Yes Yes