Question

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?

Was it helpful?

Solution

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();
} 
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top