gpt4 book ai didi

javascript - jqgrid oversmart 并将标题应用于我的 td

转载 作者:行者123 更新时间:2023-11-30 18:37:54 25 4
gpt4 key购买 nike

我正在使用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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com