I\'m having a heck of a time trying to only display my jqGrid when records are returned from my webservice. I don\'t want it to be collapsed to where you only see the capti
Try using this method to hide jqGrid:
$("#someGridTableName").jqGrid("GridUnload");
Be sure to include:
jquery.jqGrid-x.x.x/src/grid.custom.js file.
See this post that talks more about the above method. Or jqGrid wiki where it talks about this method in the Add on Grid Methods
section.
Another point to consider:
Avoid using wrapper (see post)
overflow: auto;
attribute will not work if you try to make grid columns manually wider and exceed wrapper div's width. Note: Tested on IE8 & 9