I donโt know why, but im, using jqGrid and pager, does not display correctly. I could show viewrecords , but the pager is not. The rest of the table is working fine.
Can someone give me any idea of โโwhere the problem is.
My JQGrid:
jQuery('#report_table').jqGrid({ scroll: 'true', url:'getReportTableData.json', datatype: 'json', height: 400, width: 800, colNames:['Futures','Units'], colModel:[ {name:'Futures',index:'Futures', width: 150, sortable: false}, {name:'Units',index:'Units', width: 150, sortable: false], rowNum:100, loadonce:'false', shrinkToFit: 'true', mtype: 'POST', pager: '#preport_table', postData: { idReport : '75' }, viewrecords: 'true', loadComplete : function (data) { if (data.error == 1){ $('#dialog-modal').dialog({ height: 140, width: 300, modal: true, title: ' Error ', buttons: { cerrar : function() { $(this).dialog('close'); } } }); $('#dialog-modal').html(msgError(data.msg)); } }, caption: '', hidegrid: 'true', });
And html code
<table id='report_table'></table> <div id='preport_table' ></div>
Thanks.