<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@native-html/table-plugin](./table-plugin.md) &gt; [TableConfig](./table-plugin.tableconfig.md) &gt; [computeContainerHeight](./table-plugin.tableconfig.computecontainerheight.md)

## TableConfig.computeContainerHeight property

A function which will compute container's height given the table content height.

<b>Signature:</b>

```typescript
computeContainerHeight?: (state: TableContentHeightState) => number | null;
```

## Remarks

For each instance, this function will be called twice. First time on container mount, and second time when the DOM has been mounted inside of `WebView`<!-- -->. At that moment, the state will hold the real content height. See [TableContentHeightState](./table-plugin.tablecontentheightstate.md)<!-- -->.

