没有找到合适的产品?
联系客服协助选型:023-68661681
提供3000多款全球软件/控件产品
针对软件研发的各个阶段提供专业培训与技术咨询
根据客户需求提供定制化的软件开发服务
全球知名设计软件,显著提升设计质量
打造以经营为中心,实现生产过程透明化管理
帮助企业合理产能分配,提高资源利用率
快速打造数字化生产线,实现全流程追溯
生产过程精准追溯,满足企业合规要求
以六西格玛为理论基础,实现产品质量全数字化管理
通过大屏电子看板,实现车间透明化管理
对设备进行全生命周期管理,提高设备综合利用率
实现设备数据的实时采集与监控
利用数字化技术提升油气勘探的效率和成功率
钻井计划优化、实时监控和风险评估
提供业务洞察与决策支持实现数据驱动决策
翻译|使用教程|编辑:秦林|2022-10-08 14:01:09.900|阅读 96 次
概述:这篇文章给大家讲解dhtmlxGantt可以加载或支持哪些数据格式(上篇)。
# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>
相关链接:
这篇文章给大家讲解 dhtmlxGantt可以加载或支持哪些数据格式。
dhtmlxGantt可以加载以下格式的数据:
{ "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", "type":"2"} ] }
<data> <task id='1' parent='' start_date='01-04-2020' duration='18' open='true' progress='0.4' end_date='19-04-2020'> <![CDATA[Project #2]]> </task> <task id='2' parent='1' start_date='02-04-2020' duration='8' progress='0.6' end_date='10-04-2020'> <![CDATA[Task #1]]> </task> <task id='3' parent='1' start_date='11-04-2020' duration='8' progress='0.6' end_date='19-04-2020'> <![CDATA[Task #2]]> </task> <coll_options for='links'> <item id='1' source='1' target='2' type='1' /> <item id='2' source='2' target='3' type='0' /> <item id='3' source='3' target='4' type='0' /> <item id='4' source='2' target='5' type='2' /> </coll_options> </data>
让我们考虑具有2个自定义属性的上述示例:
JSON
{ "tasks":[ {"id":"1", "text":"Project #2", "start_date":"01-04-2020", "duration":18, "progress":0.4, "open": true, "holder":"Mike", "priority":"High"}, {"id":"2", "text":"Task #1", "start_date":"02-04-2020", "duration":8, "progress":0.6, "parent":1, "holder":"John", "priority":"Medium"}, {"id":"3", "text":"Task #2", "start_date":"11-04-2020", "duration":8, "progress":0.6, "parent":1, "holder":"Alex", "priority":"Low"} ], "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", "type":"2"} ] }
XML (dhtmlxGantt 2.0+)
<data> <task id='1' parent='' start_date='01-04-2020' duration='18' open='true' progress='0.4' end_date='19-04-2020''> <holder><![CDATA[Mike]]></holder> <priority><![CDATA[High]]></priority> <![CDATA[Project #2]]> </task> <task id='2' parent='1' start_date='02-04-2020' duration='8' progress='0.6' end_date='10-04-2020'> <holder><![CDATA[John]]></holder> <priority><![CDATA[Medium]]></priority> <![CDATA[Task #1]]> </task> <task id='3' parent='1' start_date='11-04-2020' duration='8' progress='0.6' end_date='19-04-2020'> <holder><![CDATA[Alex]]></holder> <priority><![CDATA[Low]]></priority> <![CDATA[Task #2]]> </task> <coll_options for='links'> <item id='1' source='1' target='2' type='1' /> <item id='2' source='2' target='3' type='0' /> <item id='3' source='3' target='4' type='0' /> <item id='4' source='2' target='5' type='2' /> </coll_options> </data>
dhtmlxGantt是用于跨浏览器和跨平台应用程序的功能齐全的Gantt图表,可满足项目管理控件应用程序的所有需求,是最完善的甘特图图表库。了解更多DhtmlxGantt相关内容和资讯,欢迎在线咨询或者私信我获取正版试用版及报价。
甘特图控件交流群:764148812 欢迎进群交流讨论
本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@atlvshi.cn
本文将介绍如何利用 Spire.Doc for Java 在 Java 项目中实现从 Word 文档中提取表格。
锁定 Excel 中的单元格对于数据完整性至关重要。在这篇教程中,我们将探讨如何使用 C# 锁定 Excel 中的单元格。
VMProtect 是一款强大的代码保护工具,支持虚拟化、混淆和加密等多种保护技术。本文将详细介绍如何将 VMProtect 集成到 Visual Studio,并提供实用技巧。
在 Word 文档中,图片和形状可以添加超链接,用于跳转到外部网站、文件,或文档中的特定位置。这篇文章将介绍如何使用 Spire.Doc for .NET 在 C# 中以编程方式修改 Word 文档中图片和形状的超链接。
服务电话
重庆/ 023-68661681
华东/ 13452821722
华南/ 18100878085
华北/ 17347785263
客户支持
技术支持咨询服务
服务热线:400-700-1020
邮箱:sales@atlvshi.cn
关注我们
地址 : 重庆市九龙坡区火炬大道69号6幢