jqGrid error when setting width using new API

Posted by Arturo Molina on Stack Overflow See other posts from Stack Overflow or by Arturo Molina
Published on 2010-05-18T22:37:37Z Indexed on 2010/05/18 22:40 UTC
Read the original article Hit count: 364

Filed under:

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?

© Stack Overflow or respective owner

Related posts about jqgrid