<?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: Having troubles with setCell using a button</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/having-troubles-with-setcell-using-a-button</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/having-troubles-with-setcell-using-a-button/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Having troubles with setCell using a button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/having-troubles-with-setcell-using-a-button#p19037</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/having-troubles-with-setcell-using-a-button#p19037</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think you have mixed setCell with cell editing - (editCell, saveCell, restorelCell..) There is a big difference on this.</p>
<p>Please refer here for setCell method:</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ki:methods</a></p>
<p>and here for cell editing</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:cell_editing" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ll_editing</a></p>
</p>
<p>Reading documentation first is a good practice</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 10 Aug 2010 10:55:42 +0300</pubDate>
        </item>
        <item>
        	<title>jin on Having troubles with setCell using a button</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/having-troubles-with-setcell-using-a-button#p19023</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/having-troubles-with-setcell-using-a-button#p19023</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I am trying to use a button to change the value of a cell but it sends null to the server.&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6824' value='Select Code' data-codeid='sfcode6824' /></p>
<div class='sfcode' id='sfcode6824'>
<p>jQuery(&#34;#grid&#34;).jqGrid(&#39;navButtonAdd&#39;,&#39;#grid_nav&#39;,</p>
<p>{</p>
<p><span style=&#34;&#34;white-space:&#34;> </span>caption: &#34;Soft&#34;,</p>
<p><span style=&#34;&#34;white-space:&#34;> </span>title: &#34;Set Limit as Soft&#34;,</p>
<p><span style=&#34;&#34;white-space:&#34;><span style=&#34;&#34;white-space:pre&#34;&#34;> </span></span>onClickButton : function ()</p>
<p><span style=&#34;&#34;white-space:&#34;> <span style=&#34;&#34;white-space:&#34;> </span></span>{</p>
<p><span style=&#34;&#34;white-space:&#34;><span style=&#34;&#34;white-space:&#34;> </span></span>jQuery(&#39;#grid&#39;).jqGrid(&#39;setCell&#39;, r, c,&#39;test&#39;,{&#39;font-weight&#39;: &#39;&#39;,color: &#39;blue&#39;,&#39;text-<span style=&#34;&#34;white-space:&#34;> </span>align&#39;:&#39;&#39;});</p>
<p><span style=&#34;&#34;white-space:&#34;> </span>}</p>
<p>});</p>
</div>
<p>if i check the response the variant_value=null when it should be test.</p>
<p>{"id":"49&#8243;,"criteria":"test","variant":"Owner","variant_value":null}</p>
</p>
<p>Another issue i have with cellEdit is if i change&#160;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8973' value='Select Code' data-codeid='sfcode8973' /></p>
<div class='sfcode' id='sfcode8973'>
<p>jQuery(&#39;#grid&#39;).jqGrid(&#39;setCell&#39;, r, c,&#39;test&#39;,{&#39;font-weight&#39;: &#39;&#39;,color: &#39;blue&#39;,&#39;text-		align&#39;:&#39;&#39;});</p>
</p>
</div>
<p>to&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8425' value='Select Code' data-codeid='sfcode8425' /></p>
<div class='sfcode' id='sfcode8425'>
<p>jQuery(&#39;#grid&#39;).jqGrid(&#39;setCell&#39;, r, c+1,&#39;test&#39;);</p>
</p>
</div>
<p>so that it modifies the value in the next column it does not even make a call to the edit url.</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Sun, 08 Aug 2010 23:47:15 +0300</pubDate>
        </item>
</channel>
</rss>