# TableRow Object

> Represents a single row of a table in a Text Control document.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > TableRow Object
- **830 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/llms-full.txt

---

### Description

Represents a single row of a table in a Text Control document.

### Syntax

```javascript
TableRow
```

### Examples

The following example demonstrates `TableRow` in a practical document-editing workflow. It represents a single row of a table in a Text Control document.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectTableRow(tableRow) {
    tableRow.getAllowPageBreak(
        function(result) {
            if (result) {
                console.log("get allow page break is available.");
            } else {
                console.warn("get allow page break is not available in the current document state.");
            }
        },
        onTxError
    );
}
```

---

## In This Section

- [Javascript: TableRow.getAllowPageBreak Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getallowpagebreak-method/llms-full.txt): Gets a value specifying how the table row is formatted at page breaks.
- [Javascript: TableRow.getCellFormat Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getcellformat-method/llms-full.txt): Gets the formatting attributes of a table row.
- [Javascript: TableRow.getIsHeader Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getisheader-method/llms-full.txt): Gets a value specifying whether the table row is part of the table's header.
- [Javascript: TableRow.getMinimumHeight Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getminimumheight-method/llms-full.txt): Gets the minimum height, in twips, of the table row. The table row is formatted with this height if the text is smaller. Otherwise the row grows as necessary. If the property value is zero, the table row's height is always determined through the containing text.
- [Javascript: TableRow.getRow Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getrow-method/llms-full.txt): Gets the number of the table row represented through this table row object.
- [Javascript: TableRow.select Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/select-method/llms-full.txt): Selects the table row.
- [Javascript: TableRow.setAllowPageBreak Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/setallowpagebreak-method/llms-full.txt): Sets a value specifying how the table row is formatted at page breaks. The property value is True, if the table row can be formatted across page breaks. The property value is False, if the table row must not be formatted across page breaks.
- [Javascript: TableRow.setIsHeader Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/setisheader-method/llms-full.txt): Sets a value specifying whether the table row is part of the table's header.
- [Javascript: TableRow.setMinimumHeight Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/setminimumheight-method/llms-full.txt): Sets the minimum height, in twips, of the table row. The table row is formatted with this height if the text is smaller. Otherwise the row grows as necessary. If the property value is zero, the table row's height is always determined through the containing text.

---

## Nearby

- **Previous:** [Javascript: TableOfContentsInfo.start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentsinfo/start-property/llms-full.txt)
- **Next:** [Javascript: TableRow.getAllowPageBreak Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getallowpagebreak-method/llms-full.txt)
