jqGrid error when setting width using new API
- by Arturo Molina
I'm using the new API to set the width of my jqGrid like this:
$('#grid').jqGrid('setGridWidth', $(window).width() * 0.98);
The problem is that in IE7 I'm getting this error:
'p.cellLayout' is null or not an object
This only happens in IE7 (IE8, Firefox and Chrome work fine). Has anybody else encounter this problem and fixed it?