zoukankan      html  css  js  c++  java
  • jquery easyui combobox 高度自适应

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

    列合并的情况

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

    效果如下:

    每天进步一点点
  • 相关阅读:
    oracle全文检索笔记
    java命令行运行带外部jar
    xstream对象xml互转
    spring postconstruct
    eclipse tomcat内存设置
    tomcat PermGen space
    springmvc+mybatis如何分层
    maven+springmvc+easyui+fastjson+pagehelper
    eclipse优化配置
    CodeSmith生成Entity时SourceTable.Description换行不注释
  • 原文地址:https://www.cnblogs.com/miraclesakura/p/3785391.html
Copyright © 2011-2022 走看看