ScrollGrid style attributes

ScrollGrid presentation style attributes apply to SCROLLGRID 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. ScrollGrid style attributes
Attribute GDC GBC GMA GMI

customWidget

Defines the display mode to be used for the SCROLLGRID.

Values can be:

Default is to render the scrollgrid as a vertical list.

Important: The customWidget ScrollGrid style attribute cannot be changed dynamically, once the widget has been displayed.
No Yes No No

itemsAlignment

Defines how items are aligned in stretchable scrollgrids (defined with WANTFIXEDPAGESIZE=NO).

For the default rendering of stretchable scrollgrids, values of itemsAlignment can be:
  • "stretch" (default): Each element takes the whole width of the scrollgrid.
  • "left": Each element takes its minimal width and aligns to the left of the scrollgrid.
  • "center": Each element takes its minimal width and aligns to the center of the scrollgrid.
  • "right": Each element takes its minimal width and aligns to the right of the scrollgrid.
For paged scrollgrids, values of itemsAlignment can be:
  • "left" (default): Elements flow and align to the left of the scrollgrid.
  • "center": Elements flow and align to the center of the scrollgrid.
  • "right": Elements flow and align to the right of the scrollgrid.
No Yes No No

rowActionTrigger

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

Values can be "singleClick" or "doubleClick".

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

Yes Yes No No
highlightColor

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

For possible values, see Colors.

For more details see Row and cell highlighting in SCROLLGRID.

Yes Yes Yes No
highlightCurrentCell

Indicates if the current cell is highlighted in a SCROLLGRID, with the 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 SCROLLGRID.

Yes Yes Yes Yes
highlightCurrentRow

Indicates if the current row is highlighted in a SCROLLGRID, with 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 SCROLLGRID.

Yes Yes Yes Yes
highlightTextColor

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

For possible values, see Colors.

For more details see Row and cell highlighting in SCROLLGRID.

Yes Yes Yes No