Reputation: 14340
I have a jqGrid setup that is rather wide, so it the horizontal scrollbar is visible.
Problem is, when scrolling to the right and clicking on a cell, the scrollbar jumps all the way back to the left.
Any ideas why this is happening and how I can prevent it?
Upvotes: 2
Views: 832
Reputation: 11
I have the same issue with jqGrid4.1.2 After tried so many ways, I found the solution
After making the grid, please do the following things:
jQuery('#id').jqGrid('GridNav');
position:fixed
set if position is not added already
jQuery('#id_kn').parent().attr("style", style+"position:fixed");
Upvotes: 1