<?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: Subgrid columns every time smaller with setGeidWidth method</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrid-columns-every-time-smaller-with-setgeidwidth-method</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/subgrid-columns-every-time-smaller-with-setgeidwidth-method/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jmav on Subgrid columns every time smaller with setGeidWidth method</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrid-columns-every-time-smaller-with-setgeidwidth-method#p11973</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/subgrid-columns-every-time-smaller-with-setgeidwidth-method#p11973</guid>
        	        	<description><![CDATA[<p><img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /> found a solution <img class="spSmiley" style="margin:0" title="Surprised" src="/blog/wp-content/forum-smileys/sf-surprised.gif" alt="Surprised" /></p>
</p>
<p>replace</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7812' value='Select Code' data-codeid='sfcode7812' /></p>
<div class='sfcode' id='sfcode7812'>that.find(&#39;.ui-jqgrid-btable&#39;).setGridWidth(inWidth &#8211; 2, true);</div>
<p>with</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7805' value='Select Code' data-codeid='sfcode7805' /></p>
<div class='sfcode' id='sfcode7805'>that.find(&#39;.ui-jqgrid-btable:eq(0)&#39;).setGridWidth(inWidth &#8211; 2, true);</div>
</p>
<p>First action finds also subdrids. <img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" /></p></p>
]]></description>
        	        	<pubDate>Mon, 16 Nov 2009 04:37:52 +0200</pubDate>
        </item>
        <item>
        	<title>jmav on Subgrid columns every time smaller with setGeidWidth method</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/subgrid-columns-every-time-smaller-with-setgeidwidth-method#p11970</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/subgrid-columns-every-time-smaller-with-setgeidwidth-method#p11970</guid>
        	        	<description><![CDATA[</p>
<p>I use function for resizing all grids in page, problem is that every time i call this function subgrid columns widths are every time smaller (last column becomes wither). In starting dev version of jQgrid 3.6 this was not problem. I&#39;m using now 3.6 final.</p>
<p>If i setGridWidthof subgrid thro firebug, problem disappears.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7949' value='Select Code' data-codeid='sfcode7949' /></p>
<div class='sfcode' id='sfcode7949'><span>function <span>resize</span>(<span>jQcontext</span>) {</span><br /><span>&#160;&#160;&#160; if (grid = $(&#39;div.<span>ui</span>-<span>jqgrid</span>:visible&#39;, <span>jQcontext</span>)) {&#160; //.<span>ui</span>-<span>jqgrid</span>-<span>btable</span>:visible</span></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; for (i = 0; i &#60; grid.length; i++) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var that = $(grid[i]);<br /><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; inWidth = that.parent().width();&#160; //<span>innerWidth</span>();</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; that.find(&#39;.ui-jqgrid-btable&#39;).setGridWidth(inWidth - 2, true);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; };<br />&#160;&#160;&#160; }<br />}</p>
</div>
]]></description>
        	        	<pubDate>Mon, 16 Nov 2009 03:48:03 +0200</pubDate>
        </item>
</channel>
</rss>