jqGrid - 滚动条出现在冻结列中 header
jqGrid - scrollbar appears in frozen column header
在我的 jqGrid table 中,第一列是 'frozen' 列,它在 header 中有一个滚动条,如下所示。如果我删除 'frozen' 属性,卷轴似乎消失了。
代码:见第一列'frozen' 属性
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' },
如何删除滚动条或防止滚动条出现在第一 header 列中?
注意:我正在使用 jqGrid 插件(版本 4.6.0)
我想问题会通过使用
来解决
ui-jqgrid > .ui-jqgrid-view > .ui-jqgrid-hdiv { overflow: hidden; }
顺便说一下,CSS 设置包含在 free jqGrid 4.8 中。
在我的 jqGrid table 中,第一列是 'frozen' 列,它在 header 中有一个滚动条,如下所示。如果我删除 'frozen' 属性,卷轴似乎消失了。
代码:见第一列'frozen' 属性
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' },
如何删除滚动条或防止滚动条出现在第一 header 列中?
注意:我正在使用 jqGrid 插件(版本 4.6.0)
我想问题会通过使用
来解决ui-jqgrid > .ui-jqgrid-view > .ui-jqgrid-hdiv { overflow: hidden; }
顺便说一下,CSS 设置包含在 free jqGrid 4.8 中。