<?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: row IDs are reset after triggering 'reloadGrid'</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-ids-are-reset-after-triggering-reloadgrid</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/row-ids-are-reset-after-triggering-reloadgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on row IDs are reset after triggering 'reloadGrid'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-ids-are-reset-after-triggering-reloadgrid#p18861</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-ids-are-reset-after-triggering-reloadgrid#p18861</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. This&#160; is a known issue and we think how to fix it without big problems.</p>
<p>In the meantime you should apply a refreshIndex function something like this:</p>
<p>var mygrid = $("gridid")[0];</p>
<p>mygrid.refreshIndex();</p>
</p>
<p>after triggering the grid.</p>
</p>
<p>Best Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Thu, 29 Jul 2010 20:08:54 +0300</pubDate>
        </item>
        <item>
        	<title>aprokhorov on row IDs are reset after triggering 'reloadGrid'</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/row-ids-are-reset-after-triggering-reloadgrid#p18717</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/row-ids-are-reset-after-triggering-reloadgrid#p18717</guid>
        	        	<description><![CDATA[<p>I&#39;ve been banging my head for a little while watching a weird jqgrid behavior and trying to get around it. I&#39;m using v.3.7.2. (though this issue also occurred with v.3.6.5). Here&#39;s the problem. I&#39;m using a grid with these grid settings (i skipped some irrelevant params):</p>
<p>-------</p>
<p>var gridOption = {</p>
<p>&#160;rowNum: 10,<br />&#160;pager: &#39;#pagerId&#39;,<br /> rowList:[10,20,30],<br />&#160;<br />&#160;....</p>
<p>datatype: &#39;local&#39;,<br />};</p>
</p>
<p>To bind my data to the grid I execute these commands:</p>
<p>this.jqGrid.setGridParam({ data: rows });</p>
<p>this.jqGrid.trigger(&#39;reloadGrid&#39;);</p>
</p>
<p>The rows object has a bunch of data for the grid retrieved from the server. Each row has an object with Id property holding a unique record Id in my db. After binding the data and before invoking &#39;reloadGrid&#39; the jqgrid.getDataIDs() method returns an array with IDs exactly matching those stored in the rows object. Then after reloading the grid this method now returns me an array of values starting from 1, 2... So it looks like the initial IDs are gone and the new IDs are generated after reloading.</p>
<p>What the heck am I doing wrong there?:)</p></p>
]]></description>
        	        	<pubDate>Wed, 21 Jul 2010 17:11:57 +0300</pubDate>
        </item>
</channel>
</rss>