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 "wx-svelte-grid";
import { getData } from "./common/data";
const { data, columns } = getData();
</script>

<table
{data}
{columns}
autoRowHeight /> // to enable, you can specify the property or set its value to true autoRowHeight={true}