首页 > Web开发 > 详细

jquery easyui combobox 高度自适应

时间:2014-06-15 23:13:54      阅读:5357      评论:0      收藏:0      [点我收藏+]

data-options="required:true,editable:false,panelHeight:‘auto‘"  加上panelHeight:‘auto‘即可

列合并的情况

columns: [
[
{ field: ‘nj‘, title: ‘年级‘, width: 80, align: ‘center‘,rowspan:2 },
{ field: ‘bj‘, title: ‘班级‘, width: 80, align: ‘center‘,rowspan:2 },
{ title: ‘学生人数‘, width: 240, align: ‘center‘, colspan: 3 },
{ title: "民族", width: 160, align: "center", colspan: 2 },
{ title: "户口", width: 160, align: "center", colspan: 2 },
{ title: "住宿", width: 240, align: "center", colspan: 3 },
{ field: "tyNumbers", title: "团员", width: 80, align: "center",rowspan:2}
],[
{ field: ‘totalNumbers‘, title: ‘人数‘, width: 80, align: ‘center‘},
{ field: ‘boys‘, title: ‘男‘, width: 80, align: ‘center‘ },
{ field: ‘girls‘, title: ‘女‘, width: 80, align: ‘center‘ },
{ field: "han", title: "汉族", width: 80, align: "center" },
{ field: "ssmz", title: "少", width: 80, align: "center" },
{ field: "fn", title: "非农", width: 80, align: "center" },
{ field: "ny", title: "农", width: 80, align: "center" },
{ field: "zsTotalNumbers", title: "人数", width: 80, align: "center" },
{ field: "zsBoys", title: "男", width: 80, align: "center" },
{ field: "zsGirls", title: "女", width: 80, align: "center" }
]]

效果如下:

bubuko.com,布布扣

jquery easyui combobox 高度自适应,布布扣,bubuko.com

jquery easyui combobox 高度自适应

原文:http://www.cnblogs.com/miraclesakura/p/3785391.html

(3)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!