treegrid-data.json
上传用户:dawnssy
上传日期:2022-08-06
资源大小:9345k
文件大小:4k
源码类别:

JavaScript

开发平台:

JavaScript

  1. [{
  2.     task:'Project: Shopping',
  3.     duration:13.25,
  4.     user:'Tommy Maintz',
  5.     iconCls:'task-folder',
  6.     expanded: true,
  7.     children:[{
  8.         task:'Housewares',
  9.         duration:1.25,
  10.         user:'Tommy Maintz',
  11.         iconCls:'task-folder',
  12.         children:[{
  13.             task:'Kitchen supplies',
  14.             duration:0.25,
  15.             user:'Tommy Maintz',
  16.             leaf:true,
  17.             iconCls:'task'
  18.         },{
  19.             task:'Groceries',
  20.             duration:.4,
  21.             user:'Tommy Maintz',
  22.             leaf:true,
  23.             iconCls:'task'
  24.         },{
  25.             task:'Cleaning supplies',
  26.             duration:.4,
  27.             user:'Tommy Maintz',
  28.             leaf:true,
  29.             iconCls:'task'
  30.         },{
  31.             task: 'Office supplies',
  32.             duration: .2,
  33.             user: 'Tommy Maintz',
  34.             leaf: true,
  35.             iconCls: 'task'
  36.         }]
  37.     }, {
  38.         task:'Remodeling',
  39.         duration:12,
  40.         user:'Tommy Maintz',
  41.         iconCls:'task-folder',
  42.         expanded: true,
  43.         children:[{
  44.             task:'Retile kitchen',
  45.             duration:6.5,
  46.             user:'Tommy Maintz',
  47.             leaf:true,
  48.             iconCls:'task'
  49.         },{
  50.             task:'Paint bedroom',
  51.             duration: 2.75,
  52.             user:'Tommy Maintz',
  53.             iconCls:'task-folder',
  54.             children: [{
  55.                 task: 'Ceiling',
  56.                 duration: 1.25,
  57.                 user: 'Tommy Maintz',
  58.                 iconCls: 'task',
  59.                 leaf: true
  60.             }, {
  61.                 task: 'Walls',
  62.                 duration: 1.5,
  63.                 user: 'Tommy Maintz',
  64.                 iconCls: 'task',
  65.                 leaf: true
  66.             }]
  67.         },{
  68.             task:'Decorate living room',
  69.             duration:2.75,
  70.             user:'Tommy Maintz',
  71.             leaf:true,
  72.             iconCls:'task'
  73.         },{
  74.             task: 'Fix lights',
  75.             duration: .75,
  76.             user: 'Tommy Maintz',
  77.             leaf: true,
  78.             iconCls: 'task'
  79.         }, {
  80.             task: 'Reattach screen door',
  81.             duration: 2,
  82.             user: 'Tommy Maintz',
  83.             leaf: true,
  84.             iconCls: 'task'
  85.         }]
  86.     }]
  87. },{
  88.     task:'Project: Testing',
  89.     duration:2,
  90.     user:'Core Team',
  91.     iconCls:'task-folder',
  92.     children:[{
  93.         task: 'Mac OSX',
  94.         duration: 0.75,
  95.         user: 'Tommy Maintz',
  96.         iconCls: 'task-folder',
  97.         children: [{
  98.             task: 'FireFox',
  99.             duration: 0.25,
  100.             user: 'Tommy Maintz',
  101.             iconCls: 'task',
  102.             leaf: true
  103.         }, {
  104.             task: 'Safari',
  105.             duration: 0.25,
  106.             user: 'Tommy Maintz',
  107.             iconCls: 'task',
  108.             leaf: true
  109.         }, {
  110.             task: 'Chrome',
  111.             duration: 0.25,
  112.             user: 'Tommy Maintz',
  113.             iconCls: 'task',
  114.             leaf: true
  115.         }]
  116.     },{
  117.         task: 'Windows',
  118.         duration: 3.75,
  119.         user: 'Darrell Meyer',
  120.         iconCls: 'task-folder',
  121.         children: [{
  122.             task: 'FireFox',
  123.             duration: 0.25,
  124.             user: 'Darrell Meyer',
  125.             iconCls: 'task',
  126.             leaf: true
  127.         }, {
  128.             task: 'Safari',
  129.             duration: 0.25,
  130.             user: 'Darrell Meyer',
  131.             iconCls: 'task',
  132.             leaf: true
  133.         }, {
  134.             task: 'Chrome',
  135.             duration: 0.25,
  136.             user: 'Darrell Meyer',
  137.             iconCls: 'task',
  138.             leaf: true
  139.         },{
  140.             task: 'Internet Exploder',
  141.             duration: 3,
  142.             user: 'Darrell Meyer',
  143.             iconCls: 'task',
  144.             leaf: true
  145.         }]
  146.     },{
  147.         task: 'Linux',
  148.         duration: 0.5,
  149.         user: 'Aaron Conran',
  150.         iconCls: 'task',
  151.         children: [{
  152.             task: 'FireFox',
  153.             duration: 0.25,
  154.             user: 'Aaron Conran',
  155.             iconCls: 'task',
  156.             leaf: true
  157.         }, {
  158.             task: 'Chrome',
  159.             duration: 0.25,
  160.             user: 'Aaron Conran',
  161.             iconCls: 'task',
  162.             leaf: true
  163.         }]
  164.     }]
  165. }]