For reasons, I need to hide the default header that is generated by jqgrid and set my own header for it. For a demo I am trying something like this.
loadComplete:function(){
//$(".ui-jqgrid-titlebar").css("display","none");
$(".ui-jqgrid-hdiv").css("display","none");
if (!$(".ui-jqgrid-titlebar").next().hasClass("newheader"))
{
$("<div class='newheader'><div class='col-md-6''> FirstText </div><div class='col-md-6'> SecondText </div></div>").insertAfter(".ui-jqgrid-titlebar");
}
},
But my implementation has 13 columns and 50 rows also it is "grouping" grid.
At present it takes around 4 seconds to populate the grid. During this loading time the default header is showing up. But I wish to hide it while the content is loading. How can I do it?
In one answer, I came to know that in order to hide the header we have to omit caption. But I need the caption but not the header. Help me on this!