문제

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?

도움이 되었습니까?

해결책

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();
} 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top