博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Extjs gantt 甘特图 通过grid的简易实现
阅读量:7238 次
发布时间:2019-06-29

本文共 3311 字,大约阅读时间需要 11 分钟。

以下代码在Extjs5.1.4下测试通过,示例图如下:

 

示例代码如下:(此demo仅供参考,可自行优化及扩展)

 示例数据如下: {
"resultCode" : 0,   "result" : [ {
"id" : "13A9FBC84C", "createDate" : "2018-05-19 00:00:00", "createUser" : "陈炳乾", "endDate" : null, "itemName" : "11", "noticeId" : "TLB99728AD", "orgId" : "TL7AWJFavt", "impleId" : null, "impleUnit" : "www", "progContent" : null, "remarks" : "备注", "startDate" : "2017-05-22 00:00:00", "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" }, {
"id" : "B942D435EC", "createDate" : "2017-05-19 00:00:00", "createUser" : "陈炳乾", "endDate" : null, "itemName" : "22", "noticeId" : "TLB99728AD", "orgId" : "TL7AWJFavt", "impleId" : null, "impleUnit" : "www", "progContent" : null, "remarks" : "备注", "startDate" : null, "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" }, {
"id" : "C23BEA8E16", "createDate" : "2017-05-22 00:00:00", "createUser" : "翟丽娜 ", "endDate" : "2017-05-23 00:00:00", "itemName" : "dd", "noticeId" : "TLB99728AD", "orgId" : "Kfsyb0Node", "impleId" : null, "impleUnit" : "dd", "progContent" : null, "remarks" : "dddd", "startDate" : "2017-03-22 00:00:00", "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" }, {
"id" : "21FD2D392A", "createDate" : "2017-05-22 00:00:00", "createUser" : "李雷", "endDate" : "2017-08-23 00:00:00", "itemName" : "dd", "noticeId" : "TLB99728AD", "orgId" : "6AjxlyCdhq", "impleId" : null, "impleUnit" : "dd", "progContent" : null, "remarks" : "备注", "startDate" : "2017-01-23 00:00:00", "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" }, {
"id" : "58EC104749", "createDate" : "2017-05-22 00:00:00", "createUser" : "李雷", "endDate" : "2017-05-25 00:00:00", "itemName" : "ff", "noticeId" : "TLB99728AD", "orgId" : "6AjxlyCdhq", "impleId" : null, "impleUnit" : "ff", "progContent" : null, "remarks" : "备注", "startDate" : "2017-02-24 00:00:00", "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" }, {
"id" : "FB35ABE2A7", "createDate" : "2017-05-22 00:00:00", "createUser" : "朱耀军", "endDate" : "2017-09-23 00:00:00", "itemName" : "备注1", "noticeId" : "TLB99728AD", "orgId" : "TLyEeT237u", "impleId" : null, "impleUnit" : "备注", "progContent" : null, "remarks" : "备注备注备注备注", "startDate" : "2017-03-23 00:00:00", "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" }, {
"id" : "AB4659B5E0", "createDate" : "2017-05-22 00:00:00", "createUser" : "栗风清", "endDate" : "2018-07-05 00:00:00", "itemName" : "方案1", "noticeId" : "TLB99728AD", "orgId" : "TrqsybNode", "impleId" : null, "impleUnit" : "方案1", "progContent" : null, "remarks" : "方案1", "startDate" : "2017-04-23 00:00:00", "updateDate" : null, "updateUser" : null, "vno" : 1, "yearDes" : "test" } ], "msgId" : "36db528d-1032-4810-a247-5ef6396e5d12", "success" : true }
 

转载于:https://www.cnblogs.com/jiawenjun/p/6898236.html

你可能感兴趣的文章
并行与缓存的一些理解
查看>>
ibatis 开发中的经验 (三)Struts+Spring+Ibatis 开发环境搭建
查看>>
20175313 张黎仙《Java程序设计》第十周学习总结
查看>>
Spring Boot 初学避免犯不必要的错误
查看>>
剑指offer---二叉树中和为某一值的路径
查看>>
html5 视频
查看>>
Swift中Class和Struct异同
查看>>
Docker 共有 13 个管理命令和 41 个通用命令,以下是常用 Docker 命令列表
查看>>
HDU 1874 畅通工程续【Floyd算法实现】
查看>>
【经验分享】安装VirtualBox的时候遇到的问题
查看>>
Java-日历表
查看>>
GLPaint in OpenGL ES 2.0
查看>>
CocoaAsyncSocket学习
查看>>
关于form.item不兼容的问题
查看>>
poj Supermarket
查看>>
常用变量的获取
查看>>
洛谷9月月赛round2
查看>>
Lazy的SDL教程 翻译----Lesson 22 Timing
查看>>
Character.UnicodeBlock中cjk的说明
查看>>
Visual Studio 2013 滚动条实现代码缩略图
查看>>