lidatui / mmGrid

mmGird是一个基于jQuery的表格控件
http://lidatui.github.io/mmGrid
225 stars 124 forks source link

当表头分组且初始化时有隐藏列显示的BUG #20

Closed duxbin closed 11 years ago

duxbin commented 11 years ago

如下分组表头: {title:'人员信息', align: 'center', cols:[ { title:'姓名', name:'sName' ,width:50, align:'left',sortable:true}, { title:'性别', name:'sSex' ,width:30, align:'center',sortable:true}, { title:'出生日期', name:'sBirth' ,width:65, align:'center',sortable:true}, { title:'民族', name:'sNation' ,width:50, align:'center',sortable:true,hidden:true}, { title:'政治面貌', name:'sParty' ,width:60, align:'center',sortable:true,hidden:true}, ]}, {title:'单位信息', align: 'center', cols:[ { title:'单位名称', name:'sCorp' ,width:55, align:'center',sortable:true}, { title:'地址', name:'sAddress' ,width:40, align:'center',sortable:true}, { title:'电话', name:'sTel' ,width:100, align:'left',sortable:true}, { title:'传真', name:'sFax' ,width:100, align:'left',sortable:true,hidden:true} ]},

初始化时“民族”和“政治面貌”是hidden的,这样默认 单位名称 和 地址就显示在了“人员信息”中去了。

lidatui commented 11 years ago

谢谢,问题已经修正,更新到最新的master分支代码即可。