# Elementname: `Tr`

## Description

Tablerow

Allowed attributes: align, backgroundcolor, break-below, data, minheight, sethead, top-distance, valign

Child elements: Copy-of, ForAll, Loop, Message, Switch, Td

Parent elements: Case, ForAll, Loop, Otherwise, SetVariable, Table, Tablefoot, Tablehead, Until, While

### Attributes

align (optional)

  Horizontal alignment of the table cells in this row.

  left: | The contents is left aligned (ragged right). This is the default.
  right: | The contents of the cell is right aligend.
  center: | The contents of the cell is aligned at the center, with ragged right and left margin.
  justify: | Justified text with straight margins.

backgroundcolor (text, optional)

  Background color of each cell in this row.

break-below (optional)

  Allow a table break between this row and the following.

  yes: | Allow a table break between this row and the following (default).
  no: | Disable a table break between this row and the following.

data (XPath Expression, optional)

  Data that can be accessed via `$_last_tr_data` in the tablefoot and tablehead.

minheight (number, optional)

  Minimum rowheight in grid cells.

sethead (optional)

  Use this line for future table heads.

  yes: | Use this line for future table heads.
  no: | No special treatment of this line (default).

break-below (optional)

  Allow a table break between this row and the following.

  yes: | Allow a table break between this row and the following (default).
  no: | Disable a table break between this row and the following.

valign (optional)

  Vertical aligment of the table cells in this row.

  top: | The objects in this row are aligned at the top.
  middle: | The objects in this row are aligned at the middle axis.
  bottom: | The objects in this row are aligned at the bottom.

## Example

    <Tr minheight="8mm" backgroundcolor="yellow">
      <Td align="center"><Paragraph><Value>A</Value></Paragraph></Td>
      <Td><Paragraph><Value>B</Value></Paragraph></Td>
      <Td align="center"><Paragraph><Value>C</Value></Paragraph></Td>
      <Td align="center"><Paragraph><Value>D</Value></Paragraph></Td>
      <Td><Paragraph><Value>E</Value></Paragraph></Td>
    </Tr>

## See also

Td Table

# Commands

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Color
- Column
- Columns
- Contents
- Copy-of
- DefineColor
- DefineFontfamily
- DefineTextformat
- Element
- EmptyLine
- Fontface
- ForAll
- Frame
- Grid
- Group
- HSpace
- Hyphenation
- I
- Image
- Include
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- Ol
- Options
- Otherwise
- Output
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- Sequence
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 2.2.0 | Start page | Command reference | Other language: German