【问题标题】:jqgrid oversmart and applying title to my td'sjqgrid oversmart 并将标题应用于我的 td
【发布时间】:2011-10-11 11:11:23
【问题描述】:

我正在使用jqgrid的这个功能:

 tableToGrid("#something", { width: '400', height: 'auto', caption: ''});

这很好用,但是当我将鼠标悬停在某个东西上时,它会显示与单元格中相同的文本。我真的不想要这个。当我在 Firefox 中做 viewsource 时,jqgrid 为我所有的 td 添加了 title 属性。我怎样才能阻止这种情况?

提前致谢:)

【问题讨论】:

    标签: javascript jquery jqgrid


    【解决方案1】:

    您使用tableToGrid,因此您更难在文档中找到正确的参数。 The answer 展示了解决问题的方法。如果使用tableToGrid,它将如下所示:

    tableToGrid("#something", {width: '400', height: 'auto', cmTemplate: {title: false}});
    

    【讨论】:

      猜你喜欢
      • 2021-11-19
      • 1970-01-01
      • 1970-01-01
      • 2015-08-28
      • 2013-11-27
      • 1970-01-01
      • 2010-10-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多