这篇文章给大家讲解 dhtmlxGantt可以加载或支持哪些数据格式。
带有集合的JSON
JSON 数据可以在数据对象的“集合”属性中包含任意数量的附加数组。代码如下所示:
{
"tasks":[
{"id":"1", "text":"Project #2", "start_date":"01-04-2020", "duration":18,
"progress":0.4, "open": true},
{"id":"2", "text":"Task #1", "start_date":"02-04-2020", "duration":8,
"progress":0.6, "parent":"1"},
{"id":"3", "text":"Task #2", "start_date":"11-04-2020", "duration":8,
"progress":0.6, "parent":"1"}
],
"links":[
{"id":"1", "source":"1", "target":"2", "type":"1"},
{"id":"2", "source":"2", "target":"3", "type":"0"},
{"id":"3", "source":"3", "target":"4", "type":"0"},
{"id":"4", "source":"2", "target":"5",

本文详细介绍了dhtmlxGantt甘特图支持的数据格式,包括带有集合的JSON和XML。dhtmlxGantt是一款强大的项目管理工具,适用于多平台,提供全面的Gantt图表解决方案。
最低0.47元/天 解锁文章
5566

被折叠的 条评论
为什么被折叠?



