<?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: Single Column Table - setGridWidth</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/single-column-table-setgridwidth</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/single-column-table-setgridwidth/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>zeestorm on Single Column Table - setGridWidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/single-column-table-setgridwidth#p29030</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/single-column-table-setgridwidth#p29030</guid>
        	        	<description><![CDATA[<p>When you have a single column table, and you attempt to call "setGridWidth", the table will not update.</p>
</p>
<p>This is due to line 3465 (on my copy), which reads:</p>
<blockquote>
<p>if (!lvc) { return; }</p>
</blockquote>
<p>Since a single column will have index of 0, this ends the function, instead of finishing updating the grid. It should be something like this:</p>
<blockquote>
<p>if (lvc === undefined) { return; }</p>
</blockquote>
<p>Which would mean there are no visible columns to be resized.</p>
<p>The above code is what I changed locally and it appears to be working as intended.</p>
]]></description>
        	        	<pubDate>Wed, 19 Jun 2013 05:32:03 +0300</pubDate>
        </item>
</channel>
</rss>