@bryntum/gantt-vue
v7.2.2
Published
Vue 2 wrappers for Bryntum Gantt JavaScript component
Readme
Vue 2 wrapper for Bryntum Gantt
This package provides a wrapper that turns Bryntum Gantt into a Vue 2 component, exposing configuration options, properties, features, and events.
Version Requirement
- Vue:
2.6or higher - TypeScript:
4.2or higher (optional)
Vue 3 version compatibility
For Vue 3+, use @bryntum/gantt-vue-3 instead.
Package Contents
| Path | Description |
|----------|---------------------------------------------------|
| src/ | Original Vue source files (BryntumGantt etc.) |
| *.d.ts | TypeScript type definitions |
Note: This is a wrapper package. The core @bryntum/gantt package must be installed separately.
Installation
Vue 2 Wrapper
npm install @bryntum/gantt-vue@latestComponent Package (Required)
npm install @bryntum/gantt@latestTry Bryntum Online Demos
Quick Start
Edit the src/App.vue file and replace the content with the following:
<template>
<bryntum-gantt
:columns="columns"
:project="project"
/>
</template>
<script>
import { BryntumGantt } from '@bryntum/gantt-vue';
import './app.css';
export default {
components : {
BryntumGantt
},
data() {
return {
columns : [{ field : 'name', text : 'Task', width : 250 }],
project : {
tasksData : [
{ id : 1, name : 'Project Setup', startDate : '2026-01-01', duration : 5 },
{ id : 2, name : 'Development', startDate : '2026-01-06', duration : 10 }
]
}
};
}
};
</script>Create a public/data/data.json file for example data and add the following JSON data to it:
{
"success": "true",
"tasks": {
"rows": [
{
"id": 1,
"name": "Documentation Project",
"expanded": true,
"children": [
{
"id": 2,
"name": "Preparation",
"expanded": true,
"children": [
{ "id": 6, "name": "Proof-read docs", "startDate": "2026-01-02", "endDate": "2026-01-09" },
{ "id": 3, "name": "Release docs", "startDate": "2026-01-09", "endDate": "2026-01-10" }
]
},
{
"id": 4,
"name": "Development",
"expanded": true,
"children": [
{ "id": 7, "name": "Write API docs", "startDate": "2026-01-05", "endDate": "2026-01-12" },
{ "id": 8, "name": "Write tutorials", "startDate": "2026-01-10", "endDate": "2026-01-16" },
{ "id": 9, "name": "Create examples", "startDate": "2026-01-12", "endDate": "2026-01-18" }
]
},
{
"id": 5,
"name": "Review & Release",
"expanded": true,
"children": [
{ "id": 10, "name": "Team review", "startDate": "2026-01-18", "endDate": "2026-01-20" },
{ "id": 11, "name": "Final approval", "startDate": "2026-01-20", "endDate": "2026-01-21" },
{ "id": 12, "name": "Public release", "startDate": "2026-01-22", "endDate": "2026-01-22" }
]
}
]
}
]
},
"dependencies": {
"rows": [
{ "fromTask": 6, "toTask": 3 },
{ "fromTask": 7, "toTask": 8 },
{ "fromTask": 8, "toTask": 9 },
{ "fromTask": 9, "toTask": 10 },
{ "fromTask": 10, "toTask": 11 },
{ "fromTask": 11, "toTask": 12 }
]
}
}This is the data the Bryntum Gantt will use.
Lastly, add some styling to your src/main.js or CSS file:
/* FontAwesome is used for icons */
@import '@bryntum/gantt/fontawesome/css/fontawesome.css';
@import '@bryntum/gantt/fontawesome/css/solid.css';
/* Structural CSS */
@import "@bryntum/gantt/gantt.css";
/* Bryntum theme of your choice */
@import "@bryntum/gantt/svalbard-light.css";Integration Guide
For details on installing and using this package, see the Vue Integration Guide.
Wrappers
Vue wrappers encapsulate Bryntum components as native Vue components, exposing all configuration options, properties, features, and events through Vue-familiar patterns like props, events, and slots.
Visit Wrappers documentation for the complete list of available wrapper components.
Features
Features are optional modules that extend Bryntum Gantt functionality. Each feature is suffixed with Feature and
can be enabled and configured through standard Vue props.
Visit Features documentation for the complete list of available features and their configuration options.
Explore All Bryntum Products
- Bryntum Grid - High-performance data grid
- Bryntum Scheduler - Resource scheduling component
- Bryntum Scheduler Pro - Advanced scheduling with dependencies
- Bryntum Gantt - Project planning and management
- Bryntum Calendar - Full-featured calendar component
- Bryntum TaskBoard - Kanban-style task management
Explore our comprehensive collection of demos:
| Product | JavaScript | React | Vue | Angular | |-------------------|:------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------:|:----------------------------------------------------------------------:|:------------------------------------------------------------------------------:| | Grid | Grid JavaScript demos | Grid React demos | Grid Vue demos | Grid Angular demos | | Scheduler | Scheduler JavaScript demos | Scheduler React demos | Scheduler Vue demos | Scheduler Angular demos | | Scheduler Pro | Scheduler Pro JavaScript demos | Scheduler Pro React demos | Scheduler Pro Vue demos | Scheduler Pro Angular demos | | Gantt | Gantt JavaScript demos | Gantt React demos | Gantt Vue demos | Gantt Angular demos | | Calendar | Calendar JavaScript demos | Calendar React demos | Calendar Vue demos | Calendar Angular demos | | TaskBoard | TaskBoard JavaScript demos | TaskBoard React demos | TaskBoard Vue demos | TaskBoard Angular demos |
Online references
License and copyright
This wrapper depends on Bryntum Gantt, which is commercial software and requires a paid license. Please visit the Bryntum Gantt End User License for the full text of the license.
Copyright © 2009-2026, Bryntum All rights reserved.
