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":[{"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,"fortyTwo":0,"four":0,"fourteen":0,"id":0,"maxinum":0,"minnum":0,"nine":2.491,"nineteen":0,"one":0,"optime":null,"passnum":0,"runDate":"2014-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,"thirtyThree":0,"thirtyTwo":0,"three":0,"time":"","twelve":5.491,"twenty":0,"twentyEight":0,"twentyFive":0,"twentyFour":0,"twentyNine":0,"twentyOne":0,"twentySeven":0,"twentySix":0,"twentyThree":0,"twentyTwo":0,"two":0,"type":"查询工作单"}]}]}

合并表头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"}]

easyui datagrid的json格式的更多相关文章

  1. EasyUI datagrid 分页Json字符串格式

    //EasyUI datagrid 分页Json字符串格式 //{"total":xx,"rows":[{...},{...}]} total:总数 rows: ...

  2. 在使用easyui,datagrid时,JSON中的如果含有换行符,则不能显示数据

    http://www.xuebuyuan.com/2103538.html 每项值需处理换行符 item = item.Replace("\r\n", ""); ...

  3. easyui datagrid 本地json数据 实现删除

    html代码:<a href='javascript:void(0);' onclick='Delete(\""+ index +"\")' class= ...

  4. easyui datagrid 绑定json对象属性的属性

    今天用easyui 的datagrid绑定数据时,后台提供的数据是实体类类型的,其中有一个实体类A的属性b是另一个实体类B类型的,而前台需要显示b的属性c,这下就悲剧了,前台没法直接绑定了,后来脑筋一 ...

  5. ASP.NET MVC5+EF6+EasyUI 后台管理系统(7)-MVC与EasyUI DataGrid

    系列目录 本节知识点 为了符合后面更新后的重构系统,文章于2016-11-1日重写 EasyUI读取MVC后台Json数据 开始实现 我们的系统似乎越来越有趣了 首先从前端入手,开打View下面的Sh ...

  6. easyUI datagrid 动态绑定列名称

    easyUI 基于Jquery ,所以需要引用Jquery文件 easyUI自带了很多样式文件,可以根据需要,引用相应的css文件. 其中datagrid是一个根据json数据,js前端生成前端显示的 ...

  7. Datagrid接收JSON数据格式

    开打View下面的Shared创建一个视图模版(母版页)<!DOCTYPE html> <html> <head> <title>Main</ti ...

  8. .Net Mvc EasyUI DataGrid 分页

    由于项目的需要,最近一直在学习 .net MVC 和EasyUI.上周写了一个<.Net Mvc 返回Json,动态生成EasyUI Tree>,今天再写一个EasyUI中另一个重要的组件 ...

  9. EasyUI datagrid 查询、设置、提交 三

    查询 $(“#grid”).datagrid(“load”,{  a: $('#id').val(),b :$('#text').val() });   {} 里面可以 是序列化参数 $(“#grid ...

随机推荐

  1. ASP.NET MVC 5 WEB API 用户验证

    参考博客:ASP.NET MVC5+EF6+EasyUI 后台管理系统(65)-MVC WebApi 用户验证 (1) 参考博客:MVC WebApi 用户验证 (2)构建ASP.NET MVC5+E ...

  2. JS——无缝滚动

    1.描述——无缝滚动图片 2.代码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8" ...

  3. 轻量级别的Cache和反向代理软件---Varnish

    1.Varnish描述 1.1 Varnish的结构与特点 Varnish是一个轻量级别的Cache和反向代理软件,先进的设计理念和成熟的设计框架是Varnish的主要特点: 基于内存进行缓存,重启后 ...

  4. word采用尾注进行参考文献排版的一些问题

    使用Word中尾注的功能可以很好地解决论文中参考文献的排序问题.方法如下: 1.光标移到要插入参考文献的地方,菜单中“插入”——“引用”——“脚注和尾注”. 2.对话框中选择“尾注”,编号方式选“自动 ...

  5. c语言 inline函数

    大学在教科书上学习过inline函数,定义为inline函数之后,会省去函数调用的开销,直接嵌套汇编代码,取代函数调用,提高效率. google的google c++ style guide 1.in ...

  6. memcache数据组织

    转自:原链接 使用命令 set(key, value) 向 memcached 插入一条数据, memcached 内部是如何组织数据呢 一 把数据组装成 item memcached 接受到客户端的 ...

  7. STM32_IAP详解(有代码,有上位机)

    Iap,全名为in applacation programming,即在应用编程,与之相对应的叫做isp,in system programming,在系统编程,两者的不同是isp需要依靠烧写器在单片 ...

  8. X-004 FriendlyARM tiny4412 uboot移植之点亮指路灯

    <<<<<<<<<<<<<<<<<<<<<<<<< ...

  9. 每个Javascript开发者都应当知道的那些事

    每个Javascript开发者都应当知道的那些事 2015-06-07 前端大全 (点击上方蓝字,可快速关注我们) Javascript是一种日益增长的语言,特别是现在ECMAScript规范按照每年 ...

  10. UVa 11059 最大乘积

    https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem& ...