Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Gantt Chart Data Binding Example

This repository contains a Vue 3 app that binds a Vue Gantt Chart to remote task data using DataManager and WebApiAdaptor.

Project overview

The app renders a Syncfusion <ejs-gantt> chart in src/App.vue with columns for Task ID, Task Name, and Start Date. It loads hierarchical task data from a remote endpoint.

Key files

  • src/App.vue
    • Renders the Gantt chart and maps fields such as TaskId, TaskName, StartDate, EndDate, Duration, Progress, Predecessor, and SubTasks.
  • src/main.js
    • Creates the Vue app and registers a Syncfusion license.
  • src/data.js
    • Includes local sample data (projectNewData, selfData) not currently used.
  • src/components/HelloWorld.vue: default Vue CLI starter.

Dependencies

  • vue ^3.2.13
  • @syncfusion/ej2-vue-gantt ^21.1.38
  • core-js

Setup

  1. Install dependencies:
npm install
  1. Run the app:
npm run serve
  1. Open the local site in your browser:
http://localhost:8080/

Notes

  • The current code uses remote data via DataManager and WebApiAdaptor.
  • src/data.js contains local sample data not imported into App.vue.

Related Links

About

A quick-start project that helps you bind hierarchical, self-referential, and remote data to the Vue Gantt Chart component. This project contains code to access the online data service with the help of the Syncfusion data manager.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages