autoRowHeight
Description
Optional. Enables the autoheight of rows in the tableUsage
autoRowHeight?: boolean;
Parameters
The autoRowHeight
parameter can have the next values:
true
- the rows autoheight is enabledfalse
- 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}