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";

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

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

export default App;