<?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: Formatter Not Firing At All</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-not-firing-at-all</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/formatter-not-firing-at-all/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Formatter Not Firing At All</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-not-firing-at-all#p8225</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-not-firing-at-all#p8225</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What values do you have in the data for this field, maybe you will need to use the editoptions to set what you expect to be for the checkbox.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 04 Aug 2009 02:02:20 +0300</pubDate>
        </item>
        <item>
        	<title>jkarlen on Formatter Not Firing At All</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/formatter-not-firing-at-all#p8158</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/formatter-not-firing-at-all#p8158</guid>
        	        	<description><![CDATA[<p>I am using jqGrid 3.44 and I am unable to get the formatter functionality working at all.&#160; I originally used a custom formatter but the function call I put in didn&#39;t appear to ever be firing so I dropped back to just try a checkbox out of the standard formatter list.&#160; My column continues to display as plain data.&#160;&#160; I have double checked my include configuraiton to be sure fmatter is being included.&#160; Below is my jqGrid code:</p>
</p>
<p>$("#list2").jqGrid({ <br />&#160;&#160;&#160;&#160;url: ajax_url,<br />&#160;&#160;&#160;&#160;mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;datatype: "json", <br />&#160;&#160;&#160;&#160;colNames:[&#39;Order ID#&#39;, &#39;Segment&#39;, &#39;Units&#39;,&#39;ACK&#39;, &#39;Tier&#39;, &#39;Bill To&#39;, &#39;Ship To&#39;, &#39;Order Date&#39;, &#39;Due Date&#39;, &#39;CSS Class&#39;, &#39;Over Due&#39;], <br />&#160;&#160;&#160;&#160;colModel:[ {name:&#39;order_id&#39;,index:&#39;order_id&#39;, width:90, jsonmap: &#39;order_id&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;order_segment&#39;,index:&#39;order_segment&#39;, width:70, jsonmap: &#39;order_segment&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name: &#39;units&#39;,index:&#39;units&#39;,width:50},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;acknowledgement&#39;, index:&#39;acknowledgement&#39;,width:50},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;tier&#39;,index:&#39;tier&#39;, width:50, jsonmap: &#39;tier&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; {name:&#39;billing_name&#39;,index:&#39;billing_name&#39;, width:180},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; {name:&#39;shipping_name&#39;,width:180},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; {name:&#39;order_date&#39;,width:100,editable:true,formatter:&#39;checkbox&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; {name:&#39;due_date&#39;,index:&#39;due_date&#39;,width:100,editable: true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; {name:&#39;css_class&#39;,hidden: true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160; {name:&#39;overdue&#39;,hidden: true}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ], <br />&#160;&#160;&#160;jsonReader : {<br />&#160;&#160;&#160;&#160;root: "rows", <br />&#160;&#160;&#160;&#160;total: "totalpages", <br />&#160;&#160;&#160;&#160;records: "records", <br />&#160;&#160;&#160;&#160;page: "page",<br />&#160;&#160;&#160;&#160;repeatitems: false, <br />&#160;&#160;&#160;&#160;id: "order_number"<br />&#160;&#160;&#160;&#160;},<br />&#160;&#160;&#160;&#160;<br />&#160;&#160;&#160;pager: $(&#39;#pager2&#39;),<br />&#160;&#160;&#160;rowNum:100, <br />&#160;&#160;&#160;rowList:[10,20,30], <br />&#160;&#160;&#160;imgpath: gridimgpath,<br />&#160;&#160;&#160;sortname: &#39;due_date&#39;, <br />&#160;&#160;&#160;viewrecords: true, <br />&#160;&#160;&#160;sortorder: "desc", <br />&#160;&#160;&#160;height: 600,<br />&#160;&#160;&#160;caption:"Open Orders",<br />&#160;&#160;&#160;afterInsertRow: function(rowid, aData){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(aData.css_class != &#39;none&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;for(cell = 0; cell &#60; 9; cell++)<br />&#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;$("#list2").setCell(rowid, cell, &#39;&#39;, aData.css_class);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if(aData.overdue)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;$("#list2").setCell(rowid, &#39;due_date&#39;, &#39;&#39;, &#39;overdue&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;},<br />&#160;&#160;&#160;ondblClickRow: function( rowid ) { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;jumpToOrderID( rowid );<br />&#160;&#160;&#160;&#160;&#160;} }).navGrid("#pager2", {edit: true, add: false, del: false});</p>
]]></description>
        	        	<pubDate>Thu, 30 Jul 2009 14:56:19 +0300</pubDate>
        </item>
</channel>
</rss>