<?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: Have rows with duplicate IDs</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids</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/have-rows-with-duplicate-ids/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>antirek on Have rows with duplicate IDs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids#p19760</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids#p19760</guid>
        	        	<description><![CDATA[<blockquote>
<p>Thei event should return 3 values - the third one is your solution.</p>
<p>Please refer here for afterSublit event in editing</p>
<p><a rel="nofollow" href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....ditgridrow</p>
</p>
<p>Regards</p>
</blockquote>
<hr />
<p>Thanks, tony</p>
<p>But I modificate: search largest ID in array from &#160;getDataIDs(); and +1 to them for new_id &#160;: )</p>
]]></description>
        	        	<pubDate>Mon, 13 Sep 2010 15:44:51 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Have rows with duplicate IDs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids#p19695</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids#p19695</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m not sure that this is a bug.</p>
<p>You have already the solution.</p>
<p>Please define global variable largest_id and increment this value in the afterSubmit event, which should be defined only in add mode.</p>
<p>Thei event should return 3 values - the third one is your solution.</p>
<p>Please refer here for afterSublit event in editing</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ditgridrow</a></p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sat, 11 Sep 2010 13:28:31 +0300</pubDate>
        </item>
        <item>
        	<title>antirek on Have rows with duplicate IDs</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids#p19633</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/have-rows-with-duplicate-ids#p19633</guid>
        	        	<description><![CDATA[<p>Good day!</p>
<p>I have a trouble with using Add, Delete options in jqGrid. (I use jqGrid 3.7.2 with add/edit/del actions on local data)</p>
<p><a href="http://s005.radikal.ru/i209/1009/92/85e5b5e46338.jpg"><img src="http://s005.radikal.ru/i209/1009/92/85e5b5e46338.jpg" width="100"  class="sfimageleft spUserImage" alt="Trouble with duplicate IDs" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
<p>see on image.</p>
<p>I make:</p>
<p>add row (jqGrid set row&#39;s id = 1)</p>
<p>add row (jqGrid set&#160;row&#39;s id = 2)</p>
<p>del row (jqGrid del&#160;with id = 1)</p>
<p><strong>add row (jqGrid set row&#39;s id = 2)!!! - this is trouble </strong>because id = 2 exist</p>
</p>
<p>How I can check largest id in jqGrid table? And set new row with id = largest_id+1?</p></p>
]]></description>
        	        	<pubDate>Thu, 09 Sep 2010 17:50:37 +0300</pubDate>
        </item>
</channel>
</rss>