## <sas-dv: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-dv:Rows tag.

### Syntax

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

### Attributes

`bgColor` | The background color for the row.
`customAttributes` | A list of attributes in the form of attribute="value", space delimited
`endRow` | The last row to begin using this RowRenderer or all rows after the startRow if not set. This property is 1-based.
`horizontalAlignment` | The 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).
`id` | Case-sensitive name used to identify the object instance.
`locale` |
`repeatRowFactor` | Specifies every nth row after the startRow to use this renderer. This property is 1-based.
`startRow` | The first row to begin using this RowRenderer or all rows if not set. This property is 1-based.
`styleClassPrefix` | The string to prepend to the styleClass property.
`verticalAlignment` | The 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-dv:Row tag, extend com.sas.taglib.servlet.tbeans.tableview.RowTag.