SCROLLGRID container

Defines a scrollable grid view widget, in a grid-based layout.

Syntax

SCROLLGRID [identifier] [ ( attribute [,...] ) ]
{
  row-template
  [...]
}  
END
where row-template is a text block containing:
 item-tag
[...]
  1. item-tag defines the position and length of a form item. This item tag must define a form field.

Attributes

COMMENT, FONTPITCH, STYLE, TAG, HIDDEN, WANTFIXEDPAGESIZE.

Usage

The SCROLLGRID container declares a formatted text block defining the dimensions and the position of the logical elements of a screen for a multi-record presentation.

Important: This feature is not supported on mobile platforms.

Scrollgrids are by default non-resizable; The number of visible rows is defined by the number of repeated form items inside the SCROLLGRID area. To implement a resizable scrollgrid, define a single scrollgrid row in the form layout, and use the WANTFIXEDPAGESIZE=NO attribute. Resizable scrollgrids is the recommended way to implement scrollgrids.

Note: Avoid Tab characters (ASCII 9) inside the curly-brace delimited area. If used, Tab characters will be replaced by 8 blanks by fglform.

For more details about this item type, see SCROLLGRID item type.

Example 1: Resizable scrollgrid (using WANTFIXEDPAGESIZE=NO):

SCROLLGRID (WANTFIXEDPAGESIZE=NO)
{
 [f001   ]   [f002                         ]
 [f003                                     ]
}
END
SCROLLGRID
{
 [f001   ]   [f002                         ]
 [f003                                     ]

 [f001   ]   [f002                         ]
 [f003                                     ]

 [f001   ]   [f002                         ]
 [f003                                     ]

 [f001   ]   [f002                         ]
 [f003                                     ]

}
END