I have a jqgrid whose html is displayed in the following way.
I build this myTable as a jqgrid using some custom javascript. This was working fine for a long time.
I made a change to collapse(in simple terms to hide) the div "tableSectionDiv" when the grid does not have any records.
In order to do this, on the grid complete event I computed,
var r = jQuery("#myTable").getGridParam('reccount');
if(r == 0) { $("#tableSectionDiv").hide(); }
there by collapsing the div. There is a button which will show the div with a simple $("#tableSectionDiv").show(); code
But when I see the grid it displays the empty grid, But I SEE THE LOADING IMAGE WITH NO TEXT IN IT.
Any idea on why it is happening?