Skip to main content

cellWidth

Description

Optional. Defines the width of a cell in pixels

Usage

cellWidth?: number;

Parameters

  • cellWidth - the width of a cell in pixels; 100 is set by default

Example

<script setup>
import { getData } from "./common/data";
import { Gantt } from "@svar-ui/vue-gantt";

const data = getData();
</script>

<template>
<Gantt :tasks="data.tasks" :cellWidth="90" />
</template>