Skip to main content

autoRowHeight

Description​

Optional. Enables the autoheight of rows in the table

Usage​

autoRowHeight?: boolean;

Parameters​

The autoRowHeight parameter can have the next values:

  • true - the rows autoheight is enabled
  • false - the rows autoheight is disabled (default)

Example​

<script>
import { Grid } from "@svar-ui/svelte-grid";
import { getData } from "./common/data";
const { data, columns } = getData();

</script>

<Grid
{data}
{columns}
autoRowHeight /> // or autoRowHeight={true}