【问题标题】:How to hide the tool-tip in struts2 jqgrid?如何隐藏struts2 jqgrid中的工具提示?
【发布时间】:2015-04-15 10:26:05
【问题描述】:

我正在使用,

http://struts.jgeppert.com/struts2-jquery-grid-showcase/index.action

展示我的网格。此处工具提示在鼠标悬停在所有行上时可见。我想隐藏工具提示。

【问题讨论】:

标签: jquery struts2 jqgrid tooltip struts2-jquery


【解决方案1】:

这是jqGrid 的一个例子。您可以通过这种方式通过 jquery 删除标题:

$(document).ready(function(){
    $("table.ui-jqgrid-btable td").each(function(){
         $(this).removeAttr("title");
    });
});

【讨论】:

    【解决方案2】:

    找到了一个对我有用的链接。感谢Palash Mondal。

    http://burnignorance.com/javascript-performance-tips/hide-all-tool-tips-in-jqgrid/

    添加这个:cmTemplate: { title: false },

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-12
      • 1970-01-01
      • 2021-08-27
      相关资源
      最近更新 更多