feat: dependency gantt sample

This commit is contained in:
Supan Adit Pratama 2025-03-13 15:52:07 +00:00
parent 42a22aa56d
commit 96e6118821

View File

@ -38,12 +38,21 @@
end: '2025-03-16', end: '2025-03-16',
progress: 20 progress: 20
}, },
{
id: '2',
name: 'Redesign website',
start: '2025-03-03',
end: '2025-03-04',
progress: 20,
dependencies: '1'
}
]; ];
let gantt = new Gantt("#gantt", tasks, { let gantt = new Gantt("#gantt", tasks, {
bar_height: 16, bar_height: 16,
column_width: 30, column_width: 30,
container_height: 670, container_height: 670,
view_mode_select: true, view_mode_select: true,
readonly: true,
}); });
</script> </script>
@endsection @endsection