cellWidth
Description
Defines the width of a cell in pixelsUsage
cellWidth?: number;
Parameters
cellWidth
- the width of a cell in pixels; 100 is set by default
Example
import { getData } from "./common/data";
import { Gantt } from "wx-react-gantt";
const Component = () => {
const data = getData();
return <Gantt tasks={data.tasks} cellWidth={90} />;
};
export default Component;