<?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: Problem on edit cell value with groupingGroupBy</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-on-edit-cell-value-with-groupinggroupby</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/bugs/problem-on-edit-cell-value-with-groupinggroupby/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>olivercortinas on Problem on edit cell value with groupingGroupBy</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-on-edit-cell-value-with-groupinggroupby#p28287</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-on-edit-cell-value-with-groupinggroupby#p28287</guid>
        	        	<description><![CDATA[<p>Hi, i&#39;m having a problem with the onSelectRow method, i use to change a cell value of dropdown style on that method, but since i have</p>
<pre>groupingGroupBy grouping recoirds by a column when i edit one record of the group change that cell value on all records of the same group, maybe the rowid is the same for all records on the same group?
</pre>
<pre></pre>
<pre></pre>
<pre>$(&#39;#showData&#39;).jqGrid(&#39;setGridParam&#39;,&#160;{&#160;grouping:true&#160;});
$(&#39;#showData&#39;).jqGrid(&#39;groupingGroupBy&#39;,[&#39;PField&#39;],&#160;{&#160;groupColumnShow:&#160;[false],&#160;groupDataSorted:&#160;true,&#160;groupCollapse:&#160;true}&#160;);
var&#160;firstGroup&#160;=&#160;$(&#39;#showData&#39;).find(&#39;tr.jqgroup:first&#39;);
$(&#39;#showData&#39;).jqGrid(&#39;groupingToggle&#39;,&#160;firstGroup[0].id);</pre>
<pre></pre>
<pre>and on ajax method:</pre>
<pre></pre>
<pre>onSelectRow&#160;:&#160;function(id)&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;var&#160;$this&#160;=&#160;$(this);<span style="white-space: pre;">		</span>//this is the grid $(&#39;#showData&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if&#160;(id)&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if&#160;(id&#160;!==&#160;lastSelCmp)&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$this.jqGrid(&#39;restoreRow&#39;,&#160;lastSelCmp);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$this.jqGrid(&#39;editRow&#39;,&#160;id,&#160;true);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;lastSelCmp&#160;=&#160;id;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}&#160;else&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$this.jqGrid(&#39;restoreRow&#39;,&#160;lastSelCmp);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;lastSelCmp&#160;=&#160;"";
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}</pre>
<pre></pre>
<pre>any ideas?</pre>
]]></description>
        	        	<pubDate>Thu, 14 Feb 2013 23:13:50 +0200</pubDate>
        </item>
</channel>
</rss>