This section explains how to use the
MinNumberOfRows attribute to define a minimum number of rows generated by the
SortByWrapper element.
Note: When the MinNumberOfRows attribute is not used, there is no change to the behavior of the SortByWrapper element. For example, if the SortByWrapper’s iterator generates 13 rows, the absence of the MinNumberOfRows will not change the result. The table will contain as many or as few rows as the iterator itself generates.
The following example
- From the Table/tgroup/tbody/SortByWrapper element, right click and select Add Attribute/MinNumberOfRows.
- From the MinNumberOfRows attribute, double-click on the NO VALUE text field. Enter a value; for example: 14.
When the
MinNumberOfRows is supplied with a value greater than the number of rows naturally generate by the iterator, then extra blank rows are appended. For example when
MinNumberOfRows is 14:

then the result looks like this:

When the MinNumberOfRows is supplied with a value less than or equal to the number of rows naturally generate by the iterator then no rows are appended. The resulting table is identical to the table generated as if the attribute was not supplied at all. For example when MinNumberOfRows is 12:

then the result looks like this:
