<?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 with formatDisplayField callback</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-formatdisplayfield-callback</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-with-formatdisplayfield-callback/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Problem with formatDisplayField callback</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-formatdisplayfield-callback#p29749</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-with-formatdisplayfield-callback#p29749</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>your demo containt an error. You use wrong parameters of <em>groupingGroupBy</em> method. Instead of</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6562' value='Select Code' data-codeid='sfcode6562' /></p>
<div class='sfcode' id='sfcode6562'>$(&#39;#table&#39;).jqGrid(&#39;groupingGroupBy&#39;, [&#39;id&#39;, <strong>&#39;forename&#39;, &#39;forename&#39;</strong>], {<br />&#160; &#160; groupOrder: [&#39;desc&#39;, &#39;asc&#39;],<br />&#160; &#160; formatDisplayField: [formatDisplay, formatDisplay, formatDisplay]<br />});&#160;</div>
<p>you should use something like</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7967' value='Select Code' data-codeid='sfcode7967' /></p>
<div class='sfcode' id='sfcode7967'>$(&#39;#table&#39;).jqGrid(&#39;groupingGroupBy&#39;, [&#39;id&#39;, &#39;forename&#39;, <strong>&#39;surname&#39;</strong>], {<br />&#160; &#160; groupOrder: [&#39;desc&#39;, &#39;asc&#39;, &#39;asc&#39;],<br />&#160; &#160; formatDisplayField: [formatDisplay, formatDisplay, formatDisplay]<br />});&#160;</div>
<p>The fixed demo you can see here: <a href="http://jsfiddle.net/uWqde/5/" target="_blank">http://jsfiddle.net/uWqde/5/</a>.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 24 Oct 2013 10:18:58 +0300</pubDate>
        </item>
        <item>
        	<title>Misanthrope13 on Problem with formatDisplayField callback</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-formatdisplayfield-callback#p29747</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-with-formatdisplayfield-callback#p29747</guid>
        	        	<description><![CDATA[<p>Hey, it&#39;s me again.</p>
</p>
<p>I have a problem with the "formatDisplayField" callback concerning the grouping function.</p>
</p>
<p>I have two groups of the same column (I know that it doesn&#39;t make any sense!). The first time the formatDisplayField method is called everything works fine but the second time the "option" argument is undefined.</p>
</p>
<p>Please take a look at the following fiddle: <a href="http://jsfiddle.net/uWqde/1/" rel="nofollow" target="_blank">http://jsfiddle.net/uWqde/1/</a></p>
<p>Click on the "Click me to group" link and take a look at the formatDisplayField Callback method.</p>
</p>
<p>(in my scenario a user can choose dynamically how the data should be grouped so he can choose the same column twice even though it&#39;s senseless. My problem ist that I need the option argument to use the formatter but it&#39;s undefined)</p>
]]></description>
        	        	<pubDate>Wed, 23 Oct 2013 14:36:57 +0300</pubDate>
        </item>
</channel>
</rss>