<?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: Select created row</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/select-created-row</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/select-created-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>g21designz on Select created row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-created-row#p13636</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-created-row#p13636</guid>
        	        	<description><![CDATA[<p>Ok it works.</p>
<p>But the problem is :</p>
<p>The added row appears first in the grid, so the grid is not sorted.</p>
<p>Imagine that i add a row, wich will be normally placed on the second page of my grid,position 12 for instance.</p>
<p>with your method it appears in the first page of my grid at the first position.</p>
<p>So i would like to know if after adding my row, if it is possible to have my grid showing the second page, and having&#160; it 12th row selected?</p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 10:56:38 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Select created row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-created-row#p13593</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-created-row#p13593</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes it is possible. One possible solution - set reloadAfterSubmit to false.</p>
<p>After you create the new row - instruct the server to return the new created id</p>
<p>then you can use afterSubmit event&#160; (the third parameter) - i.e</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4814' value='Select Code' data-codeid='sfcode4814' /></p>
<div class='sfcode' id='sfcode4814'>
<p>afterSubmit: function(data, postdata) {</p>
<p>// suppose the server return number on succes and error when errro</p>
<p>var response = data.responseText;</p>
<p>if(response != "error") {</p>
<p>return [true,"",response];</p>
<p>} else {</p>
<p>return [false,"error creting new record",""];</p>
<p>}</p>
<p>}</p>
</div>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 09:53:58 +0200</pubDate>
        </item>
        <item>
        	<title>g21designz on Select created row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/select-created-row#p13566</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/select-created-row#p13566</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>when you add a row in jqGrid via the modal form,</p>
<p>is it possible to display your grid, with the created row selected (highlighted) after clicking your add button ?</p>
]]></description>
        	        	<pubDate>Tue, 05 Jan 2010 17:38:48 +0200</pubDate>
        </item>
</channel>
</rss>