---
order: 20.1
iframe: 600
title:
  en-US: Auto Height
  zh-CN: 自动撑满高度
---

## zh-CN

设置 `AutoHeight` 可以让表格自动撑满高度，并固定头部。

注意：要使其生效还需要设置容器高度，本案例中设置了 `min-height:100vh;`。

## en-US

You can set `AutoHeight` to make the table fill the height of the container, and the header will also be fixed.

Note: To make it effective, you need to set the container height, which is set to `min-height:100vh;` in this example.