<template>
<div>
<ejs-gantt ref='gantt' :dataSource="data" id="GanttContainer" :enableContextMenu="true"
:editSettings="editSettings">
//...
</ejs-gantt>
</div>
</template>
<script>
import Vue from "vue";
import { GanttPlugin, Edit, Selection, ContextMenu } from "@syncfusion/ej2-vue-gantt";
Vue.use(GanttPlugin);
export default {
provide: {
gantt: [Edit, Selection, Toolbar, ContextMenu]
},
};
</script>
|