<?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: setFrozenColumn not working with 'rownumbers: true'</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true</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/setfrozencolumn-not-working-with-rownumbers-true/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>hughxie on setFrozenColumn not working with 'rownumbers: true'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true#p26793</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true#p26793</guid>
        	        	<description><![CDATA[<blockquote>
<p>hughxie said:</p>
<blockquote>
<p>hughxie said:</p>
<p>hi,</p>
</p>
<p>I having trouble freezing columns when &#39;rownumbers: true&#39;. Only column headers&#160;are frozen, not data. Currently, the only way is turning off rownumbers. Not sure if this is a bug. If yes, is there a work around?</p>
</p>
<p>Thanks in advance.</p>
</blockquote>
<hr />
<p>Just want to provide more info. it seems work after I sort one of the column. Any way do this without sorting? Here is my code:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myGrid.jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: mydata,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;local&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [{name:&#39;NAMESPACE&#39;, index:&#39;NAMESPACE&#39;, width:130,frozen:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;SOURCE&#39;, index:&#39;SOURCE&#39;, width:130,frozen:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;NAME&#39;, index:&#39;NAME&#39;, width:130,frozen:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;EXPECTED_ARRIVAL&#39;, index:&#39;EXPECTED_ARRIVAL&#39;, width:130,formatter:&#39;date&#39;, formatoptions:{ srcformat:&#39;Y-m-d H:i:s&#39;, newformat:&#39;Y-m-d h:i A&#39;, defaultValue: &#39;-&#39; }, sorttype: "date", datefmt: &#39;Y-m-d h:i A&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;REGISTRATION&#39;, index:&#39;REGISTRATION&#39;, width:130,cellattr: function(rowId, tv, rawObject, cm, rdata) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return colorCode(rawObject.REGISTRATION_STATUS);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;},formatter:&#39;date&#39;, formatoptions:{ srcformat:&#39;Y-m-d H:i:s&#39;, newformat:&#39;Y-m-d h:i A&#39;, defaultValue: &#39;-&#39; }, sorttype: "date", datefmt: &#39;Y-m-d h:i A&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;ETL_STARTED&#39;, index:&#39;ETL_STARTED&#39;, width:130,formatter:&#39;date&#39;, formatoptions:{ srcformat:&#39;Y-m-d H:i:s&#39;, newformat:&#39;Y-m-d h:i A&#39;, defaultValue: &#39;-&#39; }, sorttype: "date", datefmt: &#39;Y-m-d h:i A&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ...]<br />&#160;&#160;&#160;&#160;viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rownumbers: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 500,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; scrollOffset: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[200,400],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "Zinc Feeds Status for COB Date 2012-06-11 (PROD)"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid(&#39;setFrozenColumns&#39;);</p>
</blockquote>
<hr />
<p>add reloadGrid seems to resolve the issue:</p>
<p>myGrid.trigger(&#39;reloadGrid&#39;);</p>
]]></description>
        	        	<pubDate>Thu, 14 Jun 2012 16:22:52 +0300</pubDate>
        </item>
        <item>
        	<title>hughxie on setFrozenColumn not working with 'rownumbers: true'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true#p26778</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true#p26778</guid>
        	        	<description><![CDATA[<blockquote>
<p>hughxie said:</p>
<p>hi,</p>
</p>
<p>I having trouble freezing columns when &#39;rownumbers: true&#39;. Only column headers&#160;are frozen, not data. Currently, the only way is turning off rownumbers. Not sure if this is a bug. If yes, is there a work around?</p>
</p>
<p>Thanks in advance.</p>
</blockquote>
<hr />
<p>Just want to provide more info. it seems work after I sort one of the column. Any way do this without sorting? Here is my code:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; myGrid.jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; data: mydata,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;local&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [{name:&#39;NAMESPACE&#39;, index:&#39;NAMESPACE&#39;, width:130,frozen:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;SOURCE&#39;, index:&#39;SOURCE&#39;, width:130,frozen:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;NAME&#39;, index:&#39;NAME&#39;, width:130,frozen:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;EXPECTED_ARRIVAL&#39;, index:&#39;EXPECTED_ARRIVAL&#39;, width:130,formatter:&#39;date&#39;, formatoptions:{ srcformat:&#39;Y-m-d H:i:s&#39;, newformat:&#39;Y-m-d h:i A&#39;, defaultValue: &#39;-&#39; }, sorttype: "date", datefmt: &#39;Y-m-d h:i A&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;REGISTRATION&#39;, index:&#39;REGISTRATION&#39;, width:130,cellattr: function(rowId, tv, rawObject, cm, rdata) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return colorCode(rawObject.REGISTRATION_STATUS);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;},formatter:&#39;date&#39;, formatoptions:{ srcformat:&#39;Y-m-d H:i:s&#39;, newformat:&#39;Y-m-d h:i A&#39;, defaultValue: &#39;-&#39; }, sorttype: "date", datefmt: &#39;Y-m-d h:i A&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;ETL_STARTED&#39;, index:&#39;ETL_STARTED&#39;, width:130,formatter:&#39;date&#39;, formatoptions:{ srcformat:&#39;Y-m-d H:i:s&#39;, newformat:&#39;Y-m-d h:i A&#39;, defaultValue: &#39;-&#39; }, sorttype: "date", datefmt: &#39;Y-m-d h:i A&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ...]<br />&#160;&#160;&#160;&#160;viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rownumbers: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; height: 500,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; scrollOffset: 0,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:200,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[200,400],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: "Zinc Feeds Status for COB Date 2012-06-11 (PROD)"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid(&#39;setFrozenColumns&#39;);</p>
]]></description>
        	        	<pubDate>Tue, 12 Jun 2012 22:54:57 +0300</pubDate>
        </item>
        <item>
        	<title>hughxie on setFrozenColumn not working with 'rownumbers: true'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true#p26776</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setfrozencolumn-not-working-with-rownumbers-true#p26776</guid>
        	        	<description><![CDATA[<p>hi,</p>
</p>
<p>I having trouble freezing columns when &#39;rownumbers: true&#39;. Only column headers&#160;are frozen, not data. Currently, the only way is turning off rownumbers. Not sure if this is a bug. If yes, is there a work around?</p>
</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Tue, 12 Jun 2012 18:20:06 +0300</pubDate>
        </item>
</channel>
</rss>