<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Grid size bigger than columns size</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>noelg on Grid size bigger than columns size</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size#p16381</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size#p16381</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
</p>
<p>Thanks for your answer, it worked!</p>
</p>
<p>Again, hope you the best&#161;&#161;</p>
</p>
<p>Regards</p>
<p>Alvaro</p>
]]></description>
        	        	<pubDate>Tue, 13 Apr 2010 15:15:19 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Grid size bigger than columns size</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size#p16371</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size#p16371</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Set the following parameter</p>
<p>height: &#39;auto&#39;,</p>
</p>
<p>or</p>
<p>scrollOffset : 0,</p>
<p>Look at grid documentation</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 13 Apr 2010 14:11:36 +0300</pubDate>
        </item>
        <item>
        	<title>noelg on Grid size bigger than columns size</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size#p16309</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-size-bigger-than-columns-size#p16309</guid>
        	        	<description><![CDATA[<p>Hi everyone,</p>
<p>I have a problem here (I&#39;m sure it&#39;s an easy thing, but I can&#39;t find the solution).</p>
<p>I create my grid this way:</p>
<p>jQuery("#grid_Primaria").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;w72Prueba.do?action=populatePrimaria&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ajaxGridOptions : {async:false},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;clientSide&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl:&#39;clientArray&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 940,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadui:&#39;disable&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; altRows:true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Descripcion&#39;,&#39;AlumnadoA&#39;, &#39;GruposA&#39;, &#39;AlumnadoB&#39;,&#39;GruposB&#39;, &#39;AlumnadoD&#39;,&#39;GruposB&#39;,&#39;Identificador&#39;,&#39;Total&#39;,&#39;Id_Aula&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;Descripcion&#39;,index: &#39;1&#39;,width:300,&#160; align:&#39;center&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;AlumnadoA&#39;, index: &#39;2&#39;,width:120, editable: true, align: &#39;center&#39;, editoptions:{style:&#39;text-align: center;&#39;,size:6,maxlength: 5,onchange: "calculaTotal(id)",onfocus:"obtenerValor(id)"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;GruposA&#39;, index: &#39;3&#39;,width:120, editable: true, align: &#39;center&#39;, editoptions:{style:&#39;text-align: center;&#39;,size:6,maxlength: 5,onchange: "calculaTotal(id)",onfocus:"obtenerValor(id)"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;AlumnadoB&#39;, index: &#39;4&#39;,width:120,&#160; editable: true, align: &#39;center&#39;, editoptions:{style:&#39;text-align: center;&#39;,size:6,maxlength: 5,onchange: "calculaTotal(id)",onfocus:"obtenerValor(id)"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;GruposB&#39;, index: &#39;5&#39;,width:120, editable: true, align: &#39;center&#39;, editoptions:{style:&#39;text-align: center;&#39;,size:6,maxlength: 5,onchange: "calculaTotal(id)",onfocus:"obtenerValor(id)"} },<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; { name:&#39;AlumnadoD&#39;, index: &#39;6&#39;,width:120,&#160; editable: true, align: &#39;center&#39;, editoptions:{style:&#39;text-align: center;&#39;,size:6,maxlength: 5,onchange: "calculaTotal(id)",onfocus:"obtenerValor(id)"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;GruposD&#39;, index: &#39;7&#39;,width:120, editable: true, align: &#39;center&#39;, editoptions:{style:&#39;text-align: center;&#39;,size:6,maxlength: 5,onchange: "calculaTotal(id)",onfocus:"obtenerValor(id)"} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;Identificador&#39;,index:&#39;8&#39;,hidden:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;Total&#39;,index:&#39;9&#39;,hidden:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name:&#39;Id_Aula&#39;,index:&#39;10&#39;,hidden:true}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 30,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 400,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadComplete : function (xhr){&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;//numero de filas que tiene el grid&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var numeroFilas=eval(&#39;(&#39;+xhr.responseText+&#39;)&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;setEditable ("#grid_Primaria",numeroFilas);&#160;&#160; &#160;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;onSelectRow: function(id){&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if(id &#38;&#38; id!==lastSel){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; lastSel=id;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
</p>
<p>It works fine, but there&#39;s a problem with widths. The grid has a 940px width, but when it is displayed there&#39;s always a blank gap (some kind of blank column), so columns never fit the grid width.</p>
</p>
<p>I would appreciate any help or suggestions,</p>
</p>
<p>Thanks&#161;&#161;</p>
]]></description>
        	        	<pubDate>Thu, 08 Apr 2010 14:24:37 +0300</pubDate>
        </item>
</channel>
</rss>