<?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: Header and cells missalignment</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/header-and-cells-missalignment</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/header-and-cells-missalignment/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Header and cells missalignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/header-and-cells-missalignment#p12773</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/header-and-cells-missalignment#p12773</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think that they are described very well here:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:options" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ki:options</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 05 Dec 2009 15:37:21 +0200</pubDate>
        </item>
        <item>
        	<title>mchojrin on Header and cells missalignment</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/header-and-cells-missalignment#p12750</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/header-and-cells-missalignment#p12750</guid>
        	        	<description><![CDATA[<p>Hi:</p>
</p>
<p>&#160;&#160;I&#39;m having a problem with the alignment of the header and the cells in the grid.</p>
<p>&#160;&#160;This is the code I&#39;m using to create the grid:</p>
</p>
<p><span style="color: #ff0000;">$("#projects_requiring_feature_list").jqGrid({</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;datatype: "local",</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; /* height: &#39;auto&#39;,</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;//autowidth: true,</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;width: 649,</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;shrinkToFit: true,*/</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;shrinkToFit: false,</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;autowidth: true,</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;height: &#39;auto&#39;, &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;colModel:[ &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{name:&#39;project&#39;, sortable: false, label: &#39;Project&#39;, width: 150},</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{name:&#39;alpha&#39;, sortable: false, label: &#39;Alpha&#39;},</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{name:&#39;beta&#39;, sortable: false, label: &#39;Beta&#39;},</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{name:&#39;final_d&#39;, sortable: false, label: &#39;Final&#39;},</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{name:&#39;ship&#39;, sortable: false, label: &#39;Ship&#39;},</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{name:&#39;street&#39;, sortable: false, label: &#39;Street&#39;}</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;], &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;caption: "Projects that require this feature"</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160;});</span></p>
<p><span style="color: #ff0000;"><br /></span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160;mydata = [</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{project:&#39;Project 1&#39;, alpha: &#39;12/22/1977&#39;, beta: &#39;12/22/1977&#39;, final_d: &#39;12/22/1977&#39;, ship: &#39;12/22/1977&#39;, street: &#39;12/22/1977&#39; },</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{project:&#39;Project 2&#39;, alpha: &#39;12/22/1977&#39;, beta: &#39;12/22/1977&#39;, final_d: &#39;12/22/1977&#39;, ship: &#39;12/22/1977&#39;, street: &#39;12/22/1977&#39; },</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{project:&#39;Project 3&#39;, alpha: &#39;12/22/1977&#39;, beta: &#39;12/22/1977&#39;, final_d: &#39;12/22/1977&#39;, ship: &#39;12/22/1977&#39;, street: &#39;12/22/1977&#39; }</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ];</span></p>
<p><span style="color: #ff0000;"><br /></span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160;for(i=0;i&#60;=mydata.length;i++)</span></p>
<p><span style="color: #ff0000;">&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$("#projects_requiring_feature_list").addRowData(i+1,mydata[i]);</span></p>
</p>
<p>I don&#39;t fully understand how the autowidth and shrinkToFit options work... thanks!</p>
]]></description>
        	        	<pubDate>Fri, 04 Dec 2009 15:55:40 +0200</pubDate>
        </item>
</channel>
</rss>