<?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: Unable to use formatter</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter</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/unable-to-use-formatter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>yial2 on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11615</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11615</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Thank You!</p>
<p>My original jquery.jqGrid.js did NOT inclue jquery.fmatter.js in &#8220;Modules&#8230;.&#8221;. I didn&#39;t include the formatter when I first downloaded the jqGrid. Now it is working NICELY after I downloaded the package which included formatter. Thank You Thank You!! <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Fri, 06 Nov 2009 15:15:11 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11612</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11612</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please post the response from server?</p>
<p>Also another check - Open jquery.jqGrid.js with text editor and see the line</p>
<p>Modules: ....</p>
<p>Check if you have jquery.fmatter.js here.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 06 Nov 2009 12:23:29 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11609</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11609</guid>
        	        	<description><![CDATA[<p>Hi Simon,</p>
<p>Thanks for prompt reply! My code is pretty much similar to the one you posted, please see below....</p>
</p>
<p>&#160;&#160;&#160; &#60;link href="../../Content/Site.css" rel="stylesheet" type="text/css" /&#62;<br />&#160;&#160;&#160; &#60;link href="../../Scripts/jqueryUI/css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" /&#62;<br />&#160;&#160;&#160; &#60;link href="../../Scripts/jqGrid/css/ui.jqgrid.css" rel="stylesheet" type="text/css" /&#62;</p>
<p>&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/MicrosoftAjax.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/MicrosoftMvcAjax.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/jquery-1.3.2.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/jqGrid/js/i18n/grid.locale-en.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/jqGrid/js/jquery.jqGrid.min.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;</p>
<p>&#160;&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(document).ready(function(){ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#39;/Dinners/GridData/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Id&#39;, &#39;Title&#39;, &#39;Date&#39;, &#39;Join&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Id&#39;, index: &#39;DinnerID&#39;, width: 40, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Title&#39;, index: &#39;Title&#39;, width: 200, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Date&#39;, index: &#39;EventDate&#39;, width: 200, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Join&#39;, index: &#39;Join&#39;, width: 200, align: &#39;center&#39;, formatter: &#39;checkbox&#39; }],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:5,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[5,10,20,50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;DinnerID&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;../../Scripts/jqueryUI/css/ui-lightness/images&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;My first grid&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }); <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }); <br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; </p>
<p>&#160;&#160;&#160; &#60;h2&#62;My Grid Data&#60;/h2&#62;<br />&#160;&#160;&#160; &#60;div id="jqgrid"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;table id="list" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;div id="pager"&#62;&#60;/div&#62;<br />&#160;&#160;&#160; &#60;/div&#62;</p>
</p>
<p>I have been stucked with this problem for 3 days, so your help is greatly appreciated!! <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" /></p>
]]></description>
        	        	<pubDate>Fri, 06 Nov 2009 11:02:55 +0200</pubDate>
        </item>
        <item>
        	<title>SimonL on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11578</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11578</guid>
        	        	<description><![CDATA[<p>Hi Yial,</p>
</p>
<p>Its quite a long time since I had this problem so I can&#39;t remember how I managed to get it working. But if you could post your code for your grid and show which .js files and .css files you are including (Like I did in my posts) then maybe we can help. I&#39;m sure Tony would ask you to do the same - its difficult to advise without seeing your code.</p>
</p>
<p>Regards,</p>
<p>Simon</p>
]]></description>
        	        	<pubDate>Fri, 06 Nov 2009 04:18:54 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11574</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p11574</guid>
        	        	<description><![CDATA[<p>Hi Simon and Tony,</p>
</p>
<p>I have exactly same problem with Simon. I checked <a href="/jqgridwiki/doku.php?id=wiki:predefined_formatter" target="_blank">the doc</a> but still don&#39;t have a clue about how to make the formatter work. (I need to get checkbox to work, but the column is just showing my data - Yes/No - as plain text...)</p>
</p>
<p>Simon, can you share your finding? Thanks in advance!</p>
<p>Tony, do you have any other recommendation other than the doc for me? (by the way, jqGrid is really great!)</p></p>
]]></description>
        	        	<pubDate>Fri, 06 Nov 2009 02:19:51 +0200</pubDate>
        </item>
        <item>
        	<title>SimonL on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8060</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8060</guid>
        	        	<description><![CDATA[<p>Thanks Tony, I appear to have it all working correctly now, very impressed with you&#39;re work, thanks again.</p>
</p>
<p>Regards,</p>
<p>Simon</p>
]]></description>
        	        	<pubDate>Mon, 27 Jul 2009 03:41:45 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8059</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8059</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What does not work in the formatter?&#160;</p>
<p>Open the language file&#160;grid.locale-en.js and see what are the settings for the currency and what you expect to be.</p>
<p>If you expect $ to appear it will be not. You should configure this manually. Refer to docs how to do this.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 27 Jul 2009 03:37:53 +0300</pubDate>
        </item>
        <item>
        	<title>SimonL on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8011</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8011</guid>
        	        	<description><![CDATA[<p>Veerabahu,</p>
</p>
<p>Sorry, the CSS files are being included I just didn&#39;t list them in my post thay are include as follows just below my script block:</p>
</p>
<p>&#160;&#160;&#160; &#60;link href="../../Scripts/css/ui.jqgrid.css" rel="stylesheet" type="text/css" /&#62;<br />&#160;&#160;&#160; &#60;link href="../../Content/AdminSite.css" rel="stylesheet" type="text/css" /&#62;<br />&#160;&#160;&#160; &#60;link href="../../Scripts/Themes/ui-darkness/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" /&#62;</p>
<p>Can you think of any other reason the formatting is not working.</p>
</p>
<p>Regards,</p>
<p>Simon</p></p>
]]></description>
        	        	<pubDate>Fri, 24 Jul 2009 02:54:37 +0300</pubDate>
        </item>
        <item>
        	<title>veechand on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8007</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8007</guid>
        	        	<description><![CDATA[<p>I didn&#39;t see any CSS being included</p>
</p>
<p>-Veerabahu</p>
]]></description>
        	        	<pubDate>Fri, 24 Jul 2009 02:36:07 +0300</pubDate>
        </item>
        <item>
        	<title>SimonL on Unable to use formatter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8000</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unable-to-use-formatter#p8000</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;ve just started using jqGrid (which is excellent by the way). I&#39;ve ticked all the boxes on the download page and then clicked download. After unzipping the download I added the files to my project (ASP.NET MVC application). I&#39;ve managed to get the grid up and running quite nicely but I can&#39;t seem to get any of the formatting to work.</p>
<p>I&#39;ve added the following links to my page:</p>
</p>
<p>&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/jquery-1.3.2.min.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/jquery-ui-1.7.2.custom.min.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/grid.locale-en.js")%&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src="&#60;%= Url.Content("~/Scripts/jquery.jqGrid.min.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;</p>
</p>
<p>and the following script block:</p>
</p>
<p>&#160;&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(function() {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/Admin/Gallery/GetListData/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;ID&#39;, &#39;Stock Number&#39;, &#39;PO Number&#39;, &#39;Description&#39;, &#39;Cost Price&#39;, &#39;Ticket Price&#39;, &#39;Sold&#39;, &#39;Artist&#39;, &#39;Medium&#39;, &#39;Source&#39;, &#39;Owner&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ID&#39;, hidden: true, index: &#39;ID&#39;, width: 40, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;StockNumber&#39;, index: &#39;StockNumber&#39;, width: 40, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;PONumber&#39;, index: &#39;PONumber&#39;, width: 40, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Description&#39;, index: &#39;Description&#39;, width: 200, align: &#39;left&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;CostPrice&#39;, formatter: &#39;currency&#39;, index: &#39;CostPrice&#39;, width: 50, align: &#39;right&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;TicketPrice&#39;, formatter: &#39;currency&#39;, index: &#39;TicketPrice&#39;, width: 50, align: &#39;right&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;IsSold&#39;, formatter: &#39;checkbox&#39;, index: &#39;IsSold&#39;, width: 55, align: &#39;center&#39; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;ArtistName&#39;, index: &#39;ArtistName&#39;, width: 100, align: &#39;left&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Medium&#39;, index: &#39;Medium&#39;, width: 80, align: &#39;left&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Source&#39;, index: &#39;Source&#39;, width: 80, align: &#39;left&#39;},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;StockOwner&#39;, index: &#39;StockOwner&#39;, width: 80, align: &#39;left&#39; }<br />&#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; autowidth: true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 20,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [5, 10, 20, 50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;ArtistName&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "asc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;/scripts/themes/ui-darkness/images&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Gallery&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }).navGrid(&#39;#pager&#39;,{edit:true,add:false,del:true});</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; }); <br />&#60;/script&#62;</p>
</p>
<p>&#160;&#160;&#160; &#60;!-- JqGrid &#38; pager place holders --&#62;<br />&#160;&#160;&#160; &#60;table id="list" class="scroll" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#60;div id="pager" class="scroll" &#62;&#60;/div&#62;</p>
</p>
<p>As I said, the grid appears and works correctly, but I can&#39;t get any formatting working (checkboxes, currncey etc).</p>
<p>Also I can&#39;t modify the pager.</p>
<p>Can you help please.</p>
</p>
<p>Regards,</p>
<p>Simon</p>
]]></description>
        	        	<pubDate>Thu, 23 Jul 2009 12:15:06 +0300</pubDate>
        </item>
</channel>
</rss>