码迷,mamicode.com
首页 > 其他好文 > 详细

easyui datagrid 多表头设置 合并

时间:2016-05-25 00:17:23      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:

$(‘#text‘).datagrid({    
    border : 2,  
    nowrap : false,  
    fit : true,  
        url: ‘<%=request.getContextPath()%>/report/showreport.action‘,  
        frozenColumns: [[    
                             { title: ‘区域名称‘, field: ‘regionname‘, width: 80, sortable: true}    
                         ]],   
        columns: [  
        [{"title":"人员管理","colspan":3},  
         {"title":"资料管理","colspan":3}],  
        [{"field":"uname0","title":"姓名类似于李","rowspan":1},  
         {"field":"config_gender1","title":"性别等于女","rowspan":1},  
         {"field":"config_gender2","title":"性别等于男","rowspan":1},  
         {"field":"config_datatype0","title":"资料类别等于视频资料","rowspan":1},  
         {"field":"config_datatype1","title":"资料类别等于图片资料","rowspan":1},  
         {"field":"config_datatype2","title":"资料类别等于文件资料","rowspan":1}]],    
        rownumbers: true   
});

技术分享

easyui datagrid 多表头设置 合并

标签:

原文地址:http://www.cnblogs.com/super-admin/p/5525256.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!