<?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: Problems with groupingGroupBy on Chrome but not on IE and Firefox</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/problems-with-groupinggroupby-on-chrome-but-not-on-ie-and-firefox</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/problems-with-groupinggroupby-on-chrome-but-not-on-ie-and-firefox/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>olivercortinas on Problems with groupingGroupBy on Chrome but not on IE and Firefox</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problems-with-groupinggroupby-on-chrome-but-not-on-ie-and-firefox#p28286</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problems-with-groupinggroupby-on-chrome-but-not-on-ie-and-firefox#p28286</guid>
        	        	<description><![CDATA[<p>Hi, i&#39;m having an issue with jqgrid groupingGroupBy with chrome only, the grid freeze with "loading" modal over and in chrome i see this error on console:</p>
<p>Uncaught TypeError: Cannot read property &#39;name&#39; of undefined</p>
<p>and point to this line in the code:</p>
<p>$(&#39;#noSData&#39;).jqGrid(&#39;groupingGroupBy&#39;,[&#39;PField&#39;], { groupColumnShow: [false], groupDataSorted: true, groupCollapse: true} );</p>
</p>
<div>$(&#39;#loadData&#39;).click(function () {</div>
<div>&#160; &#160; var data = { from: $(&#39;#startDate&#39;).val(), to: $(&#39;#endDate&#39;).val(), option: $("#option").val(), optionP: $("#optionP").val(), optionStatus: $("#optionStatus").val() };</div>
<div>&#160; &#160; $.ajax({</div>
<div>&#160; &#160; &#160; &#160;&#160;url: &#39;/Control/ShowData&#39;,</div>
<div>&#160; &#160; &#160; &#160;&#160;data: data,</div>
<div>&#160; &#160; &#160; &#160;&#160;cache: false,</div>
<div>&#160; &#160; &#160; &#160;&#160;beforeSend: function () {</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;lockScreen();</div>
<div>&#160; &#160; &#160; &#160;&#160;},</div>
<div>&#160; &#160; &#160; &#160;&#160;success: function (json) {</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;unlockScreen();</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;modelChanged(json.ds, "#gridData", "PField");</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;$(&#39;#reportArea&#39;).css(&#39;display&#39;, &#39;block&#39;);</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;$(&#39;#gridData&#39;).jqGrid(&#39;setGridParam&#39;, { grouping:true });</div>
<div class=" ">&#160; &#160; &#160; &#160; &#160; &#160;&#160;$(&#39;#gridData&#39;).jqGrid(&#39;groupingGroupBy&#39;,[&#39;PField&#39;], { groupColumnShow: [false], groupDataSorted: true, groupCollapse: true} );</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;var firstGroup = $(&#39;#gridData&#39;).find(&#39;tr.jqgroup:first&#39;);</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;$(&#39;#gridData&#39;).jqGrid(&#39;groupingToggle&#39;, firstGroup[0].id);</div>
<div>&#160; &#160; &#160; &#160;&#160;},</div>
<div>&#160; &#160; &#160; &#160;&#160;error: function (xhr, ajaxOptions, thrownError) {</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;unlockScreen();</div>
<div>&#160; &#160; &#160; &#160; &#160; &#160;&#160;alert(thrownError);</div>
<div>&#160; &#160; &#160; &#160;&#160;}</div>
<div>&#160; &#160;&#160;});</div>
<div>});</div>
</p>
<p>Any ideas?</p>
]]></description>
        	        	<pubDate>Thu, 14 Feb 2013 20:08:17 +0200</pubDate>
        </item>
</channel>
</rss>