Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们将 jqGrid 与altclassset 和 with 一起使用hoverrows:true。当您单击一行时,altclass不再应用该类,并且悬停效果不再适用于单击的行。你怎么能阻止这种情况发生?
altclass
hoverrows:true
您可以向onSelectRow事件添加自定义代码,以防止在单击时突出显示该行。例如:
onSelectRow
onSelectRow: function(id){ jQuery(myGrid).resetSelection(); }