In jqgrid when I hover the mouse on any row it highlights the row. But when I use context enu, the highlighted style is gone for that row.
Now users are not aware which row was the context menu opened for. I would like to know if we can retain the hovered style. I know we can do setSelect on the grid for the selected row, but I don’t want to select the row. Thanks in advance…
I suggest that you use mouseover and mouseleave (or the jQuery.hover event which is the same) to set the
ui-state-hoverclass on the row on which the context menu will be opened. In the way you can fix the behavior from the standardto the following:
The demo demonstrate my suggestion live. The corresponding code I included below: