# Javascript: TableRow.getMinimumHeight Method

> 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.

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

---

### Description

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.

### Syntax

```javascript
<void> TableRow.getMinimumHeight(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])
```

### Parameters

| Parameter | Description |
|---|---|
| callback | Receives the minimum height. |
| errorCallback | Optional. Is called when the operation failed with an error. |

### Examples

The following example demonstrates `TableRow.getMinimumHeight` in a practical document-editing workflow. It 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
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function inspectMinimumHeight(tableRow) {
    tableRow.getMinimumHeight(
        function(result) {
            console.log("get minimum height result:", result);
        },
        onTxError
    );
}
```

---

## Nearby

- **Previous:** [Javascript: TableRow.getIsHeader Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getisheader-method/llms-full.txt)
- **Next:** [Javascript: TableRow.getRow Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tablerow/getrow-method/llms-full.txt)
