<?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: Custom formatter rowObject missing second time around</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around</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/custom-formatter-rowobject-missing-second-time-around/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Custom formatter rowObject missing second time around</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13506</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13506</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Just tested your example and everthing work ok for me.</p>
<p>The only think you should know is: if the field is not editable the formatter is not called at all.</p>
<p>If the field that contain the formatter is editable to the formatter is passed the array only of the editable fields and not the all one.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 03 Jan 2010 12:31:39 +0200</pubDate>
        </item>
        <item>
        	<title>App on Custom formatter rowObject missing second time around</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13432</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13432</guid>
        	        	<description><![CDATA[<p>Sorry, here&#39;s the code I&#39;m using to initiate the editing:-</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onSelectRow: function (id) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (id &#38;&#38; id !== lastsel) <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#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; if (lastsel) jQuery(&#39;#list2&#39;).jqGrid(&#39;restoreRow&#39;, lastsel); <br />&#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; jQuery(&#39;#list2&#39;).jqGrid(&#39;editRow&#39;, id, true); lastsel = id;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; } <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
]]></description>
        	        	<pubDate>Tue, 29 Dec 2009 20:37:10 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Custom formatter rowObject missing second time around</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13417</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13417</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In wich editing module is this? cellEdit, inlineEdit of formEdit?</p>
]]></description>
        	        	<pubDate>Tue, 29 Dec 2009 16:20:37 +0200</pubDate>
        </item>
        <item>
        	<title>App on Custom formatter rowObject missing second time around</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13411</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/custom-formatter-rowobject-missing-second-time-around#p13411</guid>
        	        	<description><![CDATA[<p>V3.6.2</p>
</p>
<p>Using the example from the Wiki for a custom formatter, examine the rowObject:-</p>
<p>function currencyFmatter(cellvalue, options, rowObject) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert(rowObject);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return &#8220;$&#8221; + cellvalue;<br />&#160;&#160;&#160; }</p>
</p>
<p>When the grid loads the formatter is called and the rowObject is passed in as expected.&#160; But after an edit operation when the formatter is called a second time the rowObject doesn&#39;t contain the row.</p>
</p>
<p>Also, the custom formatter appears to receive an additional parameter after the row object that contains either &#39;add&#39; or &#39;edit&#39; but this isn&#39;t mentioned in the Wiki documentation.</p>
]]></description>
        	        	<pubDate>Tue, 29 Dec 2009 10:53:58 +0200</pubDate>
        </item>
</channel>
</rss>