An alternative is to load the grid only when the tab is clicked i.e.
$(document).ready(function(){
$('#tabs').tabs({
“select”:function(event,ui){
switch(ui.index){
case 0:
loadGrid();
break;
……..
}
}
});
});
.
var grid_isloaded=false;
function loadGrid(){
if(!grid_isloaded){
$('#…').jqGrid({…..});
grid_isloaded=true;
}else
$('#…).trigger(“reloadGrid”);
};
This is what I do