I am using jqGrid 4.4.1. I am populating jqGrid locally in my js file with JSON objects.
var $myGrid = $('#myTable');
function initializeGrid(data) {
$myGrid.jqGrid({
data:data,
datatype: "local",
. . .
. . .
caption : 'Title'
});
}
I am calling this function as callback of ajax call which will input JSON data to this function. The grid is populating properly, but Caption is not coming. I am not even able to see title bar on jqGrid.
I have tried set caption manually using following command on chrome console, but still its not working.
$myGrid.jqGrid('setGridParam','caption','Title');
Do I need to do any specific configuration for this?