作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用jqgrid的这个功能:
tableToGrid("#something", { width: '400', height: 'auto', caption: ''});
这很好用,但是当我将鼠标悬停在某处时,它会显示与单元格中相同的文本。我真的不想要这个。当我在 Firefox 中查看源代码时,jqgrid 将 title 属性添加到我所有的 td。我怎样才能阻止它?
提前致谢:)
最佳答案
您使用tableToGrid
,因此您更难在文档中找到正确的参数。 The answer显示了解决问题的方法。如果使用 tableToGrid它将如下所示:
tableToGrid("#something", {width: '400', height: 'auto', cmTemplate: {title: false}});
关于javascript - jqgrid oversmart 并将标题应用于我的 td,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7725113/
我正在使用jqgrid的这个功能: tableToGrid("#something", { width: '400', height: 'auto', caption: ''}); 这很好用,但是当
我是一名优秀的程序员,十分优秀!