<?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: Force added row in inline edit to appear before current row</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-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/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Force added row in inline edit to appear before current row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25673</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25673</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>the implementation of the suggested feature is very easy. One can ovewrite the code of like I suggested in the answers <a href="http://stackoverflow.com/a/8437659/315935" target="_blank">here</a> and <a href="http://stackoverflow.com/a/8518501/315935" target="_blank">here</a>, but the best will be if one modifies some lines of the original <strong>addRowData</strong> method to include support new <strong>&#39;beforeSelected&#39;</strong> and <strong>&#39;afterSelected&#39;</strong> value of the <strong>position</strong> parameter.</p>
<p>I think that the feature will be very practical for many users especially after introducing of&#160;<strong>inlineNav</strong> method.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sun, 15 Jan 2012 22:37:21 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Force added row in inline edit to appear before current row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25427</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25427</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>I know that <a name="addrow" target="_blank"></a><a name="addrow" target="_blank"></a></p>
<p>Inside of both <strong>addRow</strong></p>
<p><input type='button' class='sfcodeselect' name='sfselectit5119' value='Select Code' data-codeid='sfcode5119' /></p>
<div class='sfcode' id='sfcode5119'>$($t).jqGrid(&#39;addRowData&#39;, p.rowID, p.initdata, p.position);</div>
<p>(see <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.0/js/grid.inlinedit.js#L363" target="_blank">here</a>) and <strong>editGridRow</strong></p>
<p><input type='button' class='sfcodeselect' name='sfselectit165' value='Select Code' data-codeid='sfcode165' /></p>
<div class='sfcode' id='sfcode165'>$($t).jqGrid(&#34;addRowData&#34;,ret[2],postdata,p.addedrow);</div>
<p>(see <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.0/js/grid.formedit.js#L714" target="_blank">here</a>) call <strong>addRowData</strong> with tree parameter, so it is impossible to use &#39;<strong>after</strong>&#39; and &#39;<strong>before</strong>&#39;&#160;as the value of <strong>position</strong> parameter.</p>
<p>Moreover adding the row before or after the last selected row can be interesting independent of the <strong>addRow</strong>&#160;and <strong>editGridRow&#160;</strong>methods. So I think that intruduction of new values &#39;<strong>afterSelected</strong>&#39; and &#39;<strong>beforeSelected</strong>&#39;&#160;of the <strong>position</strong>&#160;parameter cen be helpful.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 12:55:45 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Force added row in inline edit to appear before current row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25424</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25424</guid>
        	        	<description><![CDATA[<p>And for the other questions in stackoverflow please read here &#8211; the position can be determined with parameter.</p>
<p><a rel="nofollow" href="/jqgridwiki/doku.php?id=wiki:inline_editing#addrow" target="_blank"></a><a href="http://www.trirand.com/jqgridw" rel="nofollow" target="_blank">http://www.trirand.com/jqgridw</a>.....ing#addrow</p>
</p>
<p>I kindly suggest to read the docs, instead that sometime I do not have time to update it</p>
</p>
<p>Kind Regards</p></p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 12:41:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Force added row in inline edit to appear before current row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25423</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25423</guid>
        	        	<description><![CDATA[<p>This post is not here - my bad.</p></p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 12:37:54 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Force added row in inline edit to appear before current row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25422</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25422</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I answerd to your question just now on the stackoverflow.</p>
<p>@Tony: I find the suggestion good and in <a href="http://stackoverflow.com/a/8437659/315935" target="_blank">the answer</a>,&#160;which is oriented on form editing, I already suggested to extend the functionalite of the <strong>addRowData</strong> to support new &#39;<strong>afterSelected</strong>&#39; and &#39;<strong>beforeSelected</strong>&#39; values (additionally to existing &#39;<strong>first</strong>&#39;, &#39;<strong>last</strong>&#39;, &#39;<strong>after</strong>&#39; and &#39;<strong>before</strong>&#39;) of the <strong>position</strong> parameter.</p>
<p>I suggest to extend the functionality of <strong>addRowData</strong>&#160;to support the new &#39;<strong>afterSelected</strong>&#39; and &#39;<strong>beforeSelected</strong>&#39; values of the&#160;<strong>position</strong>&#160;parameter.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 12:31:37 +0200</pubDate>
        </item>
        <item>
        	<title>kobruleht on Force added row in inline edit to appear before current row</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25419</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/force-added-row-in-inline-edit-to-appear-before-current-row#p25419</guid>
        	        	<description><![CDATA[<p>jqGrid 4.3 allows to add new row using inline edit.</p>
<p>Inline navigator demo in <a href="http://trirand.com/blog/jqgrid/jqgrid.html" rel="nofollow" target="_blank"><a href="http://trirand.com/blog/jqgrid" rel="nofollow">http://trirand.com/blog/jqgrid</a>.....qgrid.html</a><br />Shows that after add command grid is scrolled to top and added row appears in top of grid.<br />This is confusing.</p>
<p>How to force added row to appear before current row?</p>
</p>
<p>Thi sis posted&#160;also in</p>
</p>
<p><a href="http://stackoverflow.com/questions/8517988/how-to-add-new-row-in-jqgrid-in-middle-of-grid" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....le-of-grid</a></p>
]]></description>
        	        	<pubDate>Thu, 15 Dec 2011 11:42:38 +0200</pubDate>
        </item>
</channel>
</rss>