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 "@svar-ui/react-grid";
import { getData } from "./common/data";

function App() {
const { data, columns } = getData();

return (
<Grid
data={data}
columns={columns}
autoRowHeight // or autoRowHeight={true}
/>
);
}

export default App;