<?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 Height mess grid content alignment</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment</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/bugs/grid-height-mess-grid-content-alignment/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Grid Height mess grid content alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p12246</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p12246</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that there is another reason which make this happen maybe the elements at left to the grid.</p>
]]></description>
        	        	<pubDate>Sat, 21 Nov 2009 03:33:57 +0200</pubDate>
        </item>
        <item>
        	<title>sanchitos on Grid Height mess grid content alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p12201</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p12201</guid>
        	        	<description><![CDATA[<p>Thank you, but setting the scrollOffset didn&#39;t worked out.</p>
</p>
<p>Any way, I set the paging so it actually fit the page.</p>
</p>
<p>Thank you again.</p>
]]></description>
        	        	<pubDate>Thu, 19 Nov 2009 15:20:51 +0200</pubDate>
        </item>
        <item>
        	<title>Rumen[Trirand] on Grid Height mess grid content alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p11936</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p11936</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes, the problem is that once a scrollbar is shown, it takes some space off the grid. By default this space is 18px. So the solution is to always have 18px reserved for that - this is controlled by the scrollOfset option, e.g.</p>
<p>&#160;$(document).ready(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(NOMBRE_GRID).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/BuscadorClasesPuestos/Buscar&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,</p>
<p><span style="white-space: pre;"> </span>scrollOffset: 18,</p>
</p>
<p>You can also experiment with height in percentages. jqGrid accepts 100% as valid height, so in some cases you may be better of with height 100% and paging, instead of scrolling.</p>
</p>
<p>Regards,</p>
<p>Rumen Stankov</p>
<p>jqGrid Team</p>
]]></description>
        	        	<pubDate>Sat, 14 Nov 2009 02:11:06 +0200</pubDate>
        </item>
        <item>
        	<title>sanchitos on Grid Height mess grid content alignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p11928</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/grid-height-mess-grid-content-alignment#p11928</guid>
        	        	<description><![CDATA[<p>Hi, thanks again for JqGrid that is awesome.</p>
<p>First. Using version 3..5, happening on IE and FireFox.</p>
</p>
<p>I have the following problem, I couldn&#39;t explain myself well enough, so i will show you  the screenshot</p>
</p>
<p><a href="http://www.amebaproducciones.com/errorN.JPG"><img src="http://www.amebaproducciones.com/errorN.JPG" width="100"  class="sfimageleft spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>In the first picture i do a search that only show me 2 records. My grid height is of 90px, as you see the content can be handled by the grid without using the scrollbar, but it seems that the content is center aligned.</p>
<p>Instead when the search fill the grid with enough records, so the scroll is enabled, the alignment is just perfect.</p>
<p>This is happening when i search, if the grid is filled up just from the beginning the alignment is fine.</p>
</p>
<p>The code:</p>
</p>
<p>&#160;&#160;&#160; //definicion del grid<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(document).ready(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(NOMBRE_GRID).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/BuscadorClasesPuestos/Buscar&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#8220;POST&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 90,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 370,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //autowidth: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Id&#39;, &#39;Nombre&#39;],<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;id_clase_puesto&#39;, index: &#39;id_clase_puesto&#39;, width: 100, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;nombre&#39;, index: &#39;nombre&#39;, width: 250, align: &#39;left&#39; }<br />&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: tamanoPagina,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [5, 10, 15, 20],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(NOMBRE_AREA_PAGINACION),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;nombre&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#8220;asc&#8221;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(NOMBRE_AREA_PAGINACION),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
</p>
<p>When i hit the search button i&#39;m doing this</p>
<p>$(NOMBRE_GRID).setGridParam({ url: &#8220;/BuscadorClasesPuestos/Buscar/&#8221; + id, page: 1 }).trigger(&#8221;reloadGrid&#8221;);</p>
</p>
<p>Any help will be appreciated, thank you</p>
]]></description>
        	        	<pubDate>Fri, 13 Nov 2009 16:50:57 +0200</pubDate>
        </item>
</channel>
</rss>