We use jqGrid with altclass
set and with hoverrows:true
. When you click on a row, the altclass
class is no longer applied and the hover effect no longer works on the clicked row. How can you stop this from happening?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You could add custom code to the onSelectRow
event to prevent the row from being highlighted when clicked. For example:
onSelectRow: function(id){
jQuery(myGrid).resetSelection();
}