<?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: Assistance with "editRow" "extraparam" syntax</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/assistance-with-editrow-extraparam-syntax</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/assistance-with-editrow-extraparam-syntax/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Barry on Assistance with "editRow" "extraparam" syntax</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/assistance-with-editrow-extraparam-syntax#p3103</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/assistance-with-editrow-extraparam-syntax#p3103</guid>
        	        	<description><![CDATA[<p>OK, I got it&#8230;</p>
<p>the extraparam needs to be in the &#8220;saveRow&#8221; , not &#8220;editRow&#8221;!</p>
<p>Syntax is: {&#39;oper&#39;:&#39;edit&#39;}</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Sun, 16 Nov 2008 09:29:03 +0200</pubDate>
        </item>
        <item>
        	<title>Barry on Assistance with "editRow" "extraparam" syntax</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/assistance-with-editrow-extraparam-syntax#p3101</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/assistance-with-editrow-extraparam-syntax#p3101</guid>
        	        	<description><![CDATA[<p>Hello, I am having a syntax problem. I&#39;m looking at the example with the E, S, C buttons (Row Editing, Custom Edit).&#160; I&#39;m trying to send an extra parameter, oper=edit. The code is attached, problem area in red.</p>
<p>Thank you for your assistance.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5489' value='Select Code' data-codeid='sfcode5489' /></p>
<div class='sfcode' id='sfcode5489'><span style="color: #888888;">loadComplete: function(){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160; var ids = jQuery("#grid1").getDataIDs(); <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; for(var i=0; i&#60;ids.length; i++){ <br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160; var cl = ids[i];<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; be = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;E&#39; onclick=jQuery(&#39;#grid1&#39;).editRow("+cl+",null,null,null,null,<span style="color: #ff0000;">{"oper":"edit"}</span>); /&#62;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; alert(be);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; se = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;S&#39; onclick=jQuery(&#39;#grid1&#39;).saveRow("+cl+"); /&#62;";<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; ce = "&#60;input style=&#39;height:22px;width:20px;&#39; type=&#39;button&#39; value=&#39;C&#39; onclick=jQuery(&#39;#grid1&#39;).restoreRow("+cl+"); /&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#grid1").setRowData(ids[i],{act:be+se+ce})<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; } <br />&#160;&#160;&#160; &#160;&#160;&#160; }</span></div>
]]></description>
        	        	<pubDate>Sun, 16 Nov 2008 09:01:28 +0200</pubDate>
        </item>
</channel>
</rss>