<?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:  great custom-edit feature</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/great-custom-edit-feature</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/great-custom-edit-feature/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on  great custom-edit feature</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/great-custom-edit-feature#p20006</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/great-custom-edit-feature#p20006</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It seems like the inline edit is discussed here - is this right?</p>
<p>1) There is a method named addRowData - this method add a row into the grid, but not into the server.</p>
<p>The scenario can be something like this.</p>
<p>add a row using addRowData (see docs) - since you know the id of the added row then you can use immediatley editRow with special parameter to add a row on server when user press enter or save button.</p>
</p>
<p>2) there is a method named delGridRow - see documentation</p>
<p>P.S. You can use&#160; the experimentall formatter named "actions". A exmple can be seen here:</p>
<p><a href="http://www.trirand.com/blog/phpjqgrid/examples/editing_data/inline/default.php" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/ph" rel="nofollow">http://www.trirand.com/blog/ph</a>.....efault.php</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 26 Sep 2010 11:21:17 +0300</pubDate>
        </item>
        <item>
        	<title>vivaldi on  great custom-edit feature</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/great-custom-edit-feature#p19999</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/great-custom-edit-feature#p19999</guid>
        	        	<description><![CDATA[</p>
<p>Hello,</p>
</p>
<p>I have seen one of the options of the jqgrid, where there are 3 buttons edit, save, cancel in one column so as to be able to edit the row. How can I get to add one more row to that table every time I need it?. Also, the button for Deleting would need to be there.</p>
</p>
<p>Looking at the code I can see that delete statement would go here but &#8230;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5025' value='Select Code' data-codeid='sfcode5025' /></p>
<div class='sfcode' id='sfcode5025'>
<p>se = &#34;&#60;input style=&#39;height:22px;width:20px;&#39;  type=&#39;button&#39; value=&#39;S&#39;   onclick=&#34;jQuery(&#39;#rowed2&#39;).saveRow(&#39;&#34;+cl+&#34;&#39;);&#34;  /&#62;&#34;;</p>
<p>ce =  &#34;&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39;  value=&#39;C&#39;  onclick=&#34;jQuery(&#39;#rowed2&#39;).restoreRow(&#39;&#34;+cl+&#34;&#39;);&#34; /&#62;&#34;;  			 jQuery(&#34;#rowed2&#34;).jqGrid(&#39;setRowData&#39;,ids[i],{act:be+se+ce});</p>
</p>
</div>
<p>would it be as easy as to do it as</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6915' value='Select Code' data-codeid='sfcode6915' /></p>
<div class='sfcode' id='sfcode6915'>.deleteRow(&#34;&#34;+cl+&#34;&#34;);</div>
<p>&#160; ?</p>
<p>so the 2 questions are:</p>
<p>1) How can I add a new row</p>
<p>2) what the syntax code would look like for the additional Delete button I need.</p>
</p>
<p>by the way, the code&#160; seems to be incomplete with starting ... and trailing ...</p>
<p>would it be possible to have a full code ?</p>
</p>
<p>thanks a lot</p>
<p>ÐœÐ½Ð¾Ð³Ð¾ Ð±Ð»Ð°Ð³Ð¾Ð´Ð°Ñ€Ñ</p>
</p>
<p>=======================================================================</p>
]]></description>
        	        	<pubDate>Sat, 25 Sep 2010 13:14:07 +0300</pubDate>
        </item>
</channel>
</rss>