mirror of
https://github.com/supanadit/todo.git
synced 2025-05-05 12:59:56 +00:00
feat: dependency gantt sample
This commit is contained in:
parent
42a22aa56d
commit
96e6118821
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user