<?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: jqgrid 3.8.2 Items getting removed after sorting</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-3-8-2-items-getting-removed-after-sorting</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/jqgrid-3-8-2-items-getting-removed-after-sorting/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tod on jqgrid 3.8.2 Items getting removed after sorting</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-3-8-2-items-getting-removed-after-sorting#p22249</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-3-8-2-items-getting-removed-after-sorting#p22249</guid>
        	        	<description><![CDATA[<p><!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #4a0cfc} span.s1 {color: #000000} span.s2 {color: #919191} --> <!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco} span.s1 {color: #919191} span.s2 {color: #4a0cfc} span.s3 {color: #911004} span.s4 {color: #9564d1} --></p>
<p class="p1">Hi,&#160;</p>
<p class="p1">I have a simple json model with no server interaction I am building on page load.</p>
<p class="p1">&#160;</p>
<p class="p1">col models like :</p>
<p class="p1">{ name:"team", index:"team", width:40, sortable:true, sorttype:"int"}</p>
<p class="p1">adding the rows like:</p>
<p class="p1">table.jqGrid(&#39;addRowData&#39;, uniqueId , team[i]);</p>
<p class="p1">&#160;</p>
<p class="p1">Everything works great, including the sorting , but after clicking the column and sorting, the last four items are getting removed.</p>
<p class="p1">I am sure I am doing somthing wrong, but can&#39;t seem to find it, and may resort to overriding sort with the onsortcol event which seems unnecessary.</p>
<p class="p1">&#160;</p>
<p class="p1">Thanks in advance,</p>
<p class="p1">Also if anyone knows where to find examples of updating the grid after using onsortcol that would be much appreciated.</p>
]]></description>
        	        	<pubDate>Tue, 01 Mar 2011 00:19:43 +0200</pubDate>
        </item>
</channel>
</rss>