gridWidth
Description
Optional. Defines the width of the grid area in pixelsUsage
gridWidth?: number;
Parameters
gridWidth- the width of the grid area in pixels; 440 is set by default
Example
<script setup>
import { getData } from "./common/data";
import { Gantt } from "@svar-ui/vue-gantt";
const { tasks, scales } = getData();
</script>
<template>
<Gantt :tasks="tasks" :scales="scales" :gridWidth="300" />
</template>
Related articles: