easyuidatagrid的json格式
easyui datagrid的json格式:
{"columns":[[{"field":"one","title":"10:00","width":50},{"field":"two","title":"10:05","width":50},{"field":"three","title":"10:10","width":50},{"field":"four","title":"10:15","width":50}, {"field":"five","title":"10:20","width":50},{"field":"six","title":"10:25","width":50},{"field":"seven","title":"10:30","width":50},{"field":"eight","title":"10:35","width":50}, {"field":"nine","title":"10:40","width":50},{"field":"ten",""title"":"10:45","width":50},{"field":"eleven","title":"10:50","width":50},{"field":"twelve","title":"10:55","width":50}]],"data":
easyuidatagrid[{"total":24,"rows":[{"appId":1,"appName":"营销管
理","average":0,"beginDate":"","deviation":0,"eaverage":0,"ebeginDate":"","eendDate":"","eight":0,"eighteen":0,"eleven":7.491,"emaxinum":0,"endDate":"","fault":0,"fifteen":0,"five":0,"forty":0,"fortyOne":0 07-
14","seven":0,"seventeen":0,"six":0,"sixteen":0,"status":"00","stopNum":0,"ten":6.491,"thirteen":0,"thirty":0,"thirtyEight":0,"thirtyFive":0,"thirtyFour":0,"thirtyNine":0,"thirtyOne":0,"thirtySeven":0,"thirtySix":0询⼯作单"}]}]}
合并表头json格式:
[[{
title: '⼀组',
colspan: 3
},
{
title: '⼆组',
colspan: 3
}],
[{
field: 'name',
title: 'Name',
width: 120,
rowspan: 1
},
{
field: 'addr',
title: 'Address',
width: 220,
rowspan: 1,
sortable: true
},
{
field: 'col4',
title: 'Col41',
width: 150,
rowspan: 1
},
{
field: 'name1',
title: 'Name1',
width: 120,
rowspan: 1
},
{
field: 'addr1',
title: 'Address1',
width: 220,
rowspan: 1,
sortable: true
},
{
field: 'col41',
title: 'Col411',
width: 150,
rowspan: 1
}]]
data数据的json格式:
[
{"c1":"全国","c2":"全国","c3":"全国","sj":"地区"},
{"c1":"⽉","c2":"⽉","c3":"⽉","sj":"频度"},
{"c1":"元","c2":"%","c3":"元","sj":"单位"},
{"c1":"3154.0","c2":"956.8","c3":"95.2","sj":"2000-03-31"},{"c1":"8412.5","c2":"3888.6","c3":"338.2","sj":"2000-06-30"},{"c1":"15751.2","c2":"8651.2","c3":"511.1","sj":"2000-09-
30"},{"c1":"24915.8","c2":"13873.6","c3":"936.5","sj":"2000-12-31"},{"c1":"3339.1","c2":"1010.7","c3":"61.5","sj":"2001-03-31"},
{"c1":"8886.64","c2":"4083.4","c3":"352.6","sj":"2001-06-30"},{"c1":"16530.7","c2":"8937.3","c3":"529.2","sj":"2001-09-30"},
{"c1":"26179.6","c2":"14462.8","c3":"938.8","sj":"2001-12-31"},{"c1":"3535.6","c2":"1056.6","c3":"107.4","sj":"2002-03-31"},{"c1":"9261.7","c2":"4152.9","c3":"380.1","sj":"2002-
06-30"},{"c1":"17072.65","c2":"8976.09","c3":"565.17","sj":"2002-09-30"},{"c1":"27390.8","c2":"14931.5","c3":"1033.5","sj":"2002-12-31"},
{"c1":"3893.2","c2":"1087.1","c3":"182.4","sj":"2003-03-31"},{"c1":"9664.76","c2":"4067.9","c3":"469.5","sj":"2003-06-30"},{"c1":"17914.71","c2":"9081.8","c3":"722.2","sj":"2003-
09-30"},{"c1":"29691.8","c2":"14870.1","c3":"1239.9","sj":"2003-12-31"},{"c1":"4834.2","c2":"1216.4","c3":"195.3","sj":"2004-03-31"},
{"c1":"12285.9","c2":"4989.1","c3":"514.4","sj":"2004-06-30"},{"c1":"22742.8","c2":"11114.4","c3":"769.4","sj":"2004-09-30"},
{"c1":"36239.0","c2":"18138.4","c3":"1327.1","sj":"2004-12-31"},{"c1":"5556.4","c2":"1350.1","c3":"208.5","sj":"2005-03-31"},
{"c1":"13647.1","c2":"5439.1","c3":"548.7","sj":"2005-06-30"},{"c1":"25118.3","c2":"12215.5","c3":"824.9","sj":"2005-09-30"},
{"c1":"39450.9","c2":"19613.4","c3":"1425.5","sj":"2005-12-31"},{"c1":"5810.8","c2":"1653.5","c3":"223.1","sj":"2006-03-31"},
{"c1":"14529.6","c2":"6300.8","c3":"594.0","sj":"2006-06-30"},{"c1":"26743.0","c2":"13594.4","c3":"936.2","sj":"2006-09-30"},
{"c1":"42424.4","c2":"21549.1","c3":"1602.0","sj":"2006-12-31"},{"c1":"6648.4","c2":"1704.0","c3":"256.2","sj":"2007-03-31"},
{"c1":"16783.7","c2":"6807.3","c3":"660.2","sj":"2007-06-30"},{"c1":"31496.0","c2":"15229.3","c3":"1042.6","sj":"2007-09-30"},
{"c1":"48893.0","c2":"24658.1","c3":"1861.6","sj":"2007-12-31"},{"c1":"8548.0","c2":"2187.0","c3":"299.0","sj":"2008-03-31"},
{"c1":"19613.0","c2":"8192.0","c3":"764.0","sj":"2008-06-30"},{"c1":"37728.0","c2":"17884.0","c3":"1229.0","sj":"2008-09-30"},
{"c1":"58002.2","c2":"28044.2","c3":"2152.9","sj":"2008-12-31"},{"c1":"8513.2","c2":"2269.7","c3":"316.3","sj":"2009-03-31"},
{"c1":"21046.5","c2":"8914.6","c3":"817.1","sj":"2009-06-30"},{"c1":"38717.0","c2":"19432.0","c3":"1307.0","sj":"2009-09-30"},
{"c1":"60361.0","c2":"30611.0","c3":"2359.4","sj":"2009-12-31"},{"c1":"9171.3","c2":"2722.4","c3":"375.1","sj":"2010-03-31"},
{"c1":"23323.4","c2":"10578.8","c3":"979.7","sj":"2010-06-30"},{"c1":"43917.0","c2":"23483.0","c3":"1589.0","sj":"2010-09-30"},
{"c1":"69319.8","c2":"36941.1","c3":"2595.5","sj":"2010-12-31"},{"c1":"10673.2","c2":"3120.1","c3":"447.0","sj":"2011-03-31"},
{"c1":"27384.48","c2":"11931.15","c3":"1216.9","sj":"2011-06-30"},{"c1":"52132.1","c2":"27109.8","c3":"1833.5","sj":"2011-09-30"},
{"c1":"12329.4325","c2":"3567.5481","c3":"517.5537","sj":"2012-03-31"},{"c1":"30451.1256","c2":"13366.6018","c3":"1378.7553","sj":"2012-06-30"},
{"c1":"56838.4903","c2":"29781.7755","c3":"2018.4009","sj":"2012-09-30"},{"c1":"89465.6701","c2":"46915.4884","c3":"3449.4242","sj":"2012-12-31"},
{"c1":"13206.4468","c2":"3862.1859","c3":"564.1264","sj":"2013-03-31"},{"c1":"32364.7240208","c2":"14665.9539013","c3":"1517.31730247","sj":"2013-06-30"},
{"c1":"60984.3370945","c2":"32332.8084147","c3":"2216.39345399","sj":"2013-09-30"},{"c1":"96995.2675906","c2":"51497.3688295","c3":"3902.42762893","sj":"2013-12-31"},
{"c1":"13729.9748182","c2":"4292.62274719","c3":"634.717234605","sj":"2014-03-31"},{"c1":"34300.3740042","c2":"16000.4343493","c3":"1688.69509312","sj":"2014-06-30"}, {"c1":"64934.4255222","c2":"34799.1453316","c3":"2527.08961391","sj":"2014-09-01"},
{"c1":"102226.091787906","c2":"54771.5491899177","c3":"4255.99957959416","sj":"2014-12-31"},
{"c1":"14221.6047123504","c2":"4614.73057689175","c3":"644.592749470512","sj":"2015-03-31"},
{"c1":"36293.9182736464","c2":"17419.2531661844","c3":"1758.69673024589","sj":"2015-06-30"},
{"c1":"67892.1545242102","c2":"36382.337927047","c3":"2630.61961520772","sj":"2015-09-30"}]
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论