<sas:Row>

Used to set the RowRenderer(s) of the TableView. To set the RowRenderer on a specific row then you must set startRow. If endRow or repeatRowFactor are set, then the RowRenderer applies to all rows between startRow and endRow. If repeatRowFactor is set and endRow is not set, then endRow is assumed to be the last row in the table. If just startRow is set, then only the specified row will use the RowRenderer. If startRow is not set, then the RowRenderer is applied to all rows in the table. When multiple RowRenderers have been applied to the table. Then the last RowRenderer applied for a given row will be used. The startRow, endRow and repeatRowFactor properties are 1-based since these properties refer to the row numbers from the viewer (i.e. TableView).

This tag must be nested within a sas:Rows tag.

Syntax

<sas:Row
   [bgColor="java.lang.String"]
   [customAttributes="java.lang.String"]
   [endRow="startRow..int"]
   [horizontalAlignment="NONE|LEFT|CENTER|RIGHT|JUSTIFY|CHAR"]
   [id="value"]
   [repeatRowFactor="1..int"]
   [startRow="1..int"]
   [styleClassPrefix="java.lang.String"]
   [verticalAlignment="NONE|TOP|CENTER|BOTTOM|BASELINE"] />

Attributes

bgColorThe background color for the row.
customAttributesA list of attributes in the form of attribute="value", space delimited
endRowThe last row to begin using this RowRenderer or all rows after the startRow if not set. This property is 1-based.
horizontalAlignmentThe horizontal alignment of the row's cells. Valid values are: LEFT, CENTER, RIGHT, JUSTIFY, CHAR or NONE. The default is NONE (i.e. the browser defaults).
idCase-sensitive name used to identify the object instance.
repeatRowFactorSpecifies every nth row after the startRow to use this renderer. This property is 1-based.
startRowThe first row to begin using this RowRenderer or all rows if not set. This property is 1-based.
styleClassPrefixThe string to prepend to the styleClass property.
verticalAlignmentThe vertical alignment of the row's cells. Valid values are: TOP, CENTER, BOTTOM, BASELINE or NONE. The default is NONE (i.e. the browser defaults).

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.tableview.html.DefaultTableRowRenderer.

If you need to subclass the tag handler class for the sas:Row tag, extend com.sas.taglib.servlet.tbeans.tableview.RowTag.