<?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: setCell and sort problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem</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/setcell-and-sort-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on setCell and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19488</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19488</guid>
        	        	<description><![CDATA[<p>You should always post a code example or a link which can be used to reproduce your problem. Without this it&#39;s very difficult to help you. Moreover If you write only some lines of code you suppose that only this lines are important to fix your problem. In reality it is not seldom that the problem will be somewhere else where you don&#39;t suppose at the beginning. For example, such "unimportant" things like !DOCTYPE, versions of jQuery UI, other JavaScript files of the order of JS-files and so on can sometime be the reason of very strange effects. Moreover it&#39;s always more "informative" to eat a piece of cake as to read a text which describe its taste.</p>
<p>Regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Thu, 02 Sep 2010 17:29:48 +0300</pubDate>
        </item>
        <item>
        	<title>john.allred on setCell and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19473</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19473</guid>
        	        	<description><![CDATA[<p>Thanks Oleg. Unfortunately that didn&#39;t fix it. I&#39;ve reverted back to 3.6.4 so that the code will work again. I&#39;ll try again when 3.8 comes out to see if this is fixed.</p>
]]></description>
        	        	<pubDate>Thu, 02 Sep 2010 00:35:54 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on setCell and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19457</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19457</guid>
        	        	<description><![CDATA[<p>Try to use</p>
<p>$("#myGrid")[0].refreshIndex();</p>
<p><strong>after</strong> modifying the data. It rebuild some indexes used internally in jqGrid for sorting. See /blog/?page_id=393/help/losing-edited-cell-data-after-paging/&#160;for details</p>
<p>Best regards</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Wed, 01 Sep 2010 02:20:31 +0300</pubDate>
        </item>
        <item>
        	<title>john.allred on setCell and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19455</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/setcell-and-sort-problem#p19455</guid>
        	        	<description><![CDATA[<p>I&#39;m having a problem where I set the data in a cell (that works fine) and then sort the grid. For some reason when I sort the grid the data in the cell reverts back to what it was before I called setCell. This worked fine prior to jqgrid 3.7, so I believe it is an issue that was introduced as part of the local changes.</p>
</p>
<p>My guess is that there is an internal array jqgrid maintains to do local sorting. When I call setCell, the grid is updated, but the internal array is not updated. When the sort happens it works with the internal array which resets the cell&#39;s data.</p>
</p>
<p>Does that sound right? Is there a way to update the internal array (if there is an internal array)?</p>
</p>
<p>$("#myGrid").jqGrid(&#39;setCell&#39;, rowId, &#39;typesort&#39;, data.TYPESORT, &#39;&#39;, {title: &#39;&#39;});</p>
<p>$("#myGrid").jqGrid(&#39;setGridParam&#39;, {datatype:&#39;local&#39;});</p>
<p>$("#myGrid").jqGrid(&#39;sortGrid&#39;, &#39;framesort&#39;, true);</p>
]]></description>
        	        	<pubDate>Wed, 01 Sep 2010 02:03:44 +0300</pubDate>
        </item>
</channel>
</rss>