jqgrid - cell没有隐藏溢出的文本

时间:2015-03-18 04:08:04

标签: jquery jqgrid jqgrid-asp.net

我正在使用jqgrid插件4.6.0。在正常显示期间或在列大小调整期间,单元格不会隐藏溢出的文本。请看下面的图片,

enter image description here

jqgrid 4.5.2不会发生此问题。最新版本的插件中是否有可用的设置以避免单元格数据包装?

注意:标题列按预期工作。实际文本为“Created On”,调整大小后,它隐藏溢出文本。

这是IE调试器模式下的CSS:

enter image description here

1 个答案:

答案 0 :(得分:0)

我建议您使用IE / Chrome / Firefox的开发者工具来验证在您的环境中覆盖the CSS rule的原因

.ui-jqgrid tr.jqgrow td {
    font-weight: normal;
    overflow: hidden;
    white-space: pre; /* this one */
    height: 22px;     /* and this one */
    padding: 0 2px 0 2px;
    border-bottom-width: 1px;
    border-bottom-color: inherit;
    border-bottom-style: solid;
}

我认为您与HTML页面上包含的其他CSS存在冲突。

相关问题