first , I am sorry post this topic on here .
I reread the document and found there already write
“The width of the grid is set only in pixels.”
and I found the forum somebody have solve this problem by hack
|
|
<span style="color: #ff0000"><table id="”mygrid”" class="”scroll”"></table><br />JS code:<br />jQuery(”#mygrid”).width(”99%”);<br />var w = jQuery(”#mygrid”).width();<br />jQuery(”#mygrid”).jqGrid({<br />…<br />width: w<br />…</span><br /><span style="color: #ff0000">});</span><br /><br />Regards<br /><br />gordian<br /> |