【问题标题】:jqGrid - scrollbar appears in frozen column headerjqGrid - 滚动条出现在冻结的列标题中
【发布时间】:2015-03-17 17:53:29
【问题描述】:

在我的 jqGrid 表中,第一列是“冻结”列,并且在标题中有一个滚动条,如下所示。如果我删除“冻结”属性,滚动似乎消失了。

代码:查看第一列中的“冻结”属性

  colNames: [
                "Certification Name",
                "Current",
                "Lapsing",
                "Lapsed",
                "Not Certified",
                "Total Certification"
            ],
            colModel: [
                    { name: "CertificationName", index: "CertificationName", width: 550, frozen: true },
                    { name: "CurrentCount", index: "CurrentCount", width: 75, sorttype: "int", align: 'center' },
                    { name: "LappsingCount", index: "LappsingCount", width: 75, sorttype: "int", align: 'center' },
                    { name: "LappsedCount", index: "LappsedCount", width: 75, sorttype: "int", align: 'center' },

如何移除滚动条或防止滚动条出现在第一个标题列中?

注意:我使用的是 jqGrid 插件(版本 4.6.0)

【问题讨论】:

    标签: jquery jqgrid jqgrid-asp.net


    【解决方案1】:

    我想问题会通过使用来解决

    ui-jqgrid > .ui-jqgrid-view > .ui-jqgrid-hdiv { overflow: hidden; }
    

    顺便说一句,free jqGrid 4.8 中包含 CSS 设置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-09-06
      • 2015-02-21
      • 1970-01-01
      • 2011-06-26
      • 2012-03-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多