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

import { Grid } from "@wx/react-grid";
import { getData } from "./common/data";

const { data, columns } = getData();

export default function App() {
return (
<table data={data} columns={columns} autoRowHeight={true} />
);
}