Skip to main content

cellHeight

Description

Defines the height of a cell in pixels

Usage

cellHeight?: number;

Example

The default value is 38px.

import { getData } from "./common/data";
import { Gantt } from "wx-react-gantt";
import "wx-react-gantt/dist/gantt.css";

const App = () => {
const data = getData();

return <Gantt tasks={data.tasks} cellHeight={32} />;
};

export default App;