摘要: 1、返回任务的可见高度 https://docs.dhtmlx.com/gantt/api__gantt_gettaskheight.html 1 var height = gantt.getTaskHeight(); // -> 30 2、计算任务的DOM元素在时间轴区域的位置和大小 https: 阅读全文
posted @ 2021-11-16 17:08 你在说啥 阅读(444) 评论(2) 推荐(0)
摘要: 1、获取任务节点 https://docs.dhtmlx.com/gantt/api__gantt_gettask.html 1 gantt.addTask({ 2 id:7, 3 text:"Task #5", 4 start_date:"02-09-2013", 5 duration:28 6 阅读全文
posted @ 2021-11-16 16:58 你在说啥 阅读(649) 评论(0) 推荐(0)
摘要: 1、配置文档地址(网友整理翻译过的) https://blog.csdn.net/qq_24472595/article/details/81630117?utm_source=blogxgwz1 2、vue——dhtmlxGantt甘特图API精华总结 https://blog.csdn.net/ 阅读全文
posted @ 2021-10-29 17:49 你在说啥 阅读(224) 评论(0) 推荐(0)
摘要: 1、首先把 gantt 官网下载的相关文件放入 resource 文件中。 下载地址:https://dhtmlx.com/docs/products/dhtmlxGantt/download.shtml 2、在html文件中引入 3、创建一个gantt components,此框架是vue3 + 阅读全文
posted @ 2021-10-29 17:48 你在说啥 阅读(1362) 评论(0) 推荐(0)
摘要: 官网链接 https://docs.dhtmlx.com/gantt/desktop__export.html#customstylefortheoutputfile 导出参数列表 参数名 参数类型及注释 name 输出文件的文件名称 skin (‘terrace’, ‘skyblue’, ‘mea 阅读全文
posted @ 2021-10-29 17:31 你在说啥 阅读(274) 评论(0) 推荐(0)