<?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: format is undefined</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined</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/format-is-undefined/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Mathias Grimm on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p13201</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p13201</guid>
        	        	<description><![CDATA[<p>&#60;link rel="stylesheet" type="text/css" media="screen" href="/js/jgrid/css/ui.jqgrid.css" /&#62;</p>
<p>&#60;script type="text/javascript" src="/js/jgrid/js/i18n/grid.locale-pt-br.js"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript" src="/js/jgrid/js/jquery.jqGrid.min.js"&#62;&#60;/script&#62;</p>
</p>
<p>this is the correct include order... just do it!</p>
]]></description>
        	        	<pubDate>Sun, 20 Dec 2009 16:44:14 +0200</pubDate>
        </item>
        <item>
        	<title>neph04 on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p12124</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p12124</guid>
        	        	<description><![CDATA[<p>Excelent! Iinluding grid.locale-(cs).js fixed my problem: <span class="objectBox objectBox-errorMessage hasTwisty hasBreakSwitch  opened">" $.jgrid.formatter is undefined "<br /></span></p></p>
]]></description>
        	        	<pubDate>Wed, 18 Nov 2009 08:58:41 +0200</pubDate>
        </item>
        <item>
        	<title>tony on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11783</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11783</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is fixed. You can see this in GitHUb and it is present in 3.6</p>
<p>1. Try to clear your cache.</p>
<p>2. If this continue - maybe you have bad grid configuaration. Also be a sure to load the lang file before the grid.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Nov 2009 03:30:54 +0200</pubDate>
        </item>
        <item>
        	<title>StErMi on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11751</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11751</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Thanks. Fixed.</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Uhm... I don&#39;t know where it&#39;s fixed...</p>
<p>I&#39;ve downloaded the latest build and i&#39;ve the same problem 😛</p>
<p>How can I fix it?</p>
]]></description>
        	        	<pubDate>Tue, 10 Nov 2009 13:07:31 +0200</pubDate>
        </item>
        <item>
        	<title>tony on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11116</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11116</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Fixed.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 27 Oct 2009 03:32:40 +0200</pubDate>
        </item>
        <item>
        	<title>yodasan on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11048</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p11048</guid>
        	        	<description><![CDATA[<p>So, I ran into this same problem and it&#39;s actually because of a bug that exists if you pass an undefined parameter into the format method ...</p>
</p>
<p>Inside of grid.base.js, you&#39;ll see the format method on jgrid ... if you add a check for an undefined value then it works.</p>
</p>
<p>format : function(format){ //jqgformat</p>
<p><span> </span>var args = $.makeArray(arguments).slice(1);</p>
<p><span> </span>if(format === undefined) format = ""; //Add this line and it&#39;s fixed</p>
<p><span> </span>return format.replace(/\\{(\\d+)\\}/g, function(m, i){</p>
<p><span> </span>return args[i];</p>
<p><span> </span>});</p>
<p><span> </span>},</p>
</p>
<p>- Chris</p>
]]></description>
        	        	<pubDate>Sat, 24 Oct 2009 02:26:20 +0300</pubDate>
        </item>
        <item>
        	<title>snssswc on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p10631</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p10631</guid>
        	        	<description><![CDATA[<blockquote>
<p>check <a href="http://www.trirand.com/blog/?page_id=393/help/jgridformat-is-not-a-function/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....-function/</a></p>
<p>tony said:</p>
<p><small><em>Post edited 04:44 &#8211; 04/09/2009 by tony<br /></em></small></p>
<hr />
<p>Hello,</p>
<p>Load the language file before the jqGrid in script tag. See installation.</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
]]></description>
        	        	<pubDate>Sat, 10 Oct 2009 21:56:02 +0300</pubDate>
        </item>
        <item>
        	<title>springgrass on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p10103</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p10103</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have the same problems.&#160; I guess it might have to do with the minified version, perhaps it doesn&#39;t load all dependent javascript file in this file?</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Thu, 24 Sep 2009 21:08:48 +0300</pubDate>
        </item>
        <item>
        	<title>tony on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9931</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9931</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Just tested your code again with the data in my server and everthing work ok. Are you sure that this is the whole code?</p>
<p>Try to isolate the problem. All these in the last post are not needed.</p>
<p>Just look here and try only with jqGrid only without any othe plugin.</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:how_to_install" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....to_install</a></p>
<p>and here</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:first_grid" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....first_grid</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 21 Sep 2009 08:49:20 +0300</pubDate>
        </item>
        <item>
        	<title>Blekss on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9878</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9878</guid>
        	        	<description><![CDATA[<p>ok... These ar all included scripts in my project:</p>
<p>jquery.js<br />jquery-ui-1.7.1.custom.min.js<br />jquery.layout.js<br />grid.locale-en.js<br />jquery.jqGrid.min.js<br />jquery.tablednd.js<br />jquery.contextmenu.js<br />grid.base.js<br />grid.common.js<br />grid.formedit.js</p>
</p>
<p>Try to include all of them - may be it helps</p>
]]></description>
        	        	<pubDate>Sat, 19 Sep 2009 11:56:30 +0300</pubDate>
        </item>
        <item>
        	<title>Jorel on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9877</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9877</guid>
        	        	<description><![CDATA[<p>thanks, but, this don&#39;t change.</p>
]]></description>
        	        	<pubDate>Sat, 19 Sep 2009 10:39:14 +0300</pubDate>
        </item>
        <item>
        	<title>Blekss on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9876</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9876</guid>
        	        	<description><![CDATA[<p>I found real one soulution &#8211; you must include grid.locale-en.js script in html header (or somewhere else). It works for me.</p>
]]></description>
        	        	<pubDate>Sat, 19 Sep 2009 10:11:00 +0300</pubDate>
        </item>
        <item>
        	<title>Jorel on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9875</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9875</guid>
        	        	<description><![CDATA[<p>thanks buddy............ this is a solution to the problem, because don&#39;t show the error.... but i think that there is better way for this problem........ and... i don&#39;t know how.</p>
</p>
<p>Other things, is that i implemented your solution, and, when i push in &#62;&#62; (other page) the grid show me "undefined" y next hide this message.</p>
</p>
<p>thanks</p>
</p>
<p>Jorel</p>
]]></description>
        	        	<pubDate>Sat, 19 Sep 2009 09:23:49 +0300</pubDate>
        </item>
        <item>
        	<title>Blekss on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9873</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9873</guid>
        	        	<description><![CDATA[<p>I have the same problem, but I found soulution for this. There is only one problem - my soulution is not good one....</p>
</p>
<p>at first, I use grid.base.js, not jquery.jqGrid.min.js</p>
<p>There is line like this (572):$(".ui-paging-info",ts.p.pager).html($.jgrid.format(ts.p.recordtext,from,to,tot));</p>
<p>This line is start of the problem. When format function is called ($.jgrid.format(ts.p.recordtext,from,to,tot)), the first argument - ts.p.recordtext -&#160; is undefined. I didn&#39;t find any place in the code where recordtext is used or defined. when I delete this line my jqgrid works whithout any errors. It is possible that this soulution my couse other errors, but i didn&#39;t find any error at the moment</p>
</p>
<p>Sorry for may language skills - it&#39;s quite bad.... I houp you understand mee 🙂</p>
]]></description>
        	        	<pubDate>Sat, 19 Sep 2009 07:20:29 +0300</pubDate>
        </item>
        <item>
        	<title>Jorel on format is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9864</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/format-is-undefined#p9864</guid>
        	        	<description><![CDATA[<p>Hello....</p>
</p>
<p>I have the code:</p>
<p>&#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(document).ready(function(){<br />&#160;&#160;&#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;&#160;&#160;&#160;&#160; url:&#39;carga.jsp&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: "json",<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Name&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;invid&#39;,index:&#39;invid&#39;, width:55},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:"right"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:"right"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:"right"},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false} ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager:jQuery("#pager"),<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:10,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[10,20,30],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;id&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#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;&#160;&#160;&#160;&#160; imgpath:&#39;resources/css/themes/basic/images&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption:"Mi primera grilla"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#60;/script&#62;</p>
</p>
<p>i the response is:</p>
<pre><code>{&#39;page&#39;:&#39;1&#39;,&#39;total&#39;:2,&#39;records&#39;:&#39;13&#39;,&#39;rows&#39;:[{&#39;id&#39;:&#39;13&#39;,&#39;cell&#39;:[&#39;13&#39;,&#39;2007-10-06&#39;,&#39;Client 3&#39;,&#39;1000.00&#39;</code><code>,&#39;0.00&#39;,&#39;1000.00&#39;,null]},{&#39;id&#39;:&#39;12&#39;,&#39;cell&#39;:[&#39;12&#39;,&#39;2007-10-06&#39;,&#39;Client 2&#39;,&#39;700.00&#39;,&#39;140.00&#39;,&#39;840.00&#39;,null</code><code>]},{&#39;id&#39;:&#39;11&#39;,&#39;cell&#39;:[&#39;11&#39;,&#39;2007-10-06&#39;,&#39;Client 1&#39;,&#39;600.00&#39;,&#39;120.00&#39;,&#39;720.00&#39;,null]},{&#39;id&#39;:&#39;10&#39;,&#39;cell&#39;</code><code>:[&#39;10&#39;,&#39;2007-10-06&#39;,&#39;Client 2&#39;,&#39;100.00&#39;,&#39;20.00&#39;,&#39;120.00&#39;,null]},{&#39;id&#39;:&#39;9&#39;,&#39;cell&#39;:[&#39;9&#39;,&#39;2007-10-06&#39;,&#39;Client</code><code> 1&#39;,&#39;200.00&#39;,&#39;40.00&#39;,&#39;240.00&#39;,null]},{&#39;id&#39;:&#39;8&#39;,&#39;cell&#39;:[&#39;8&#39;,&#39;2007-10-06&#39;,&#39;Client 3&#39;,&#39;200.00&#39;,&#39;0.00&#39;,&#39;200</code><code>.00&#39;,null]},{&#39;id&#39;:&#39;7&#39;,&#39;cell&#39;:[&#39;7&#39;,&#39;2007-10-05&#39;,&#39;Client 2&#39;,&#39;120.00&#39;,&#39;12.00&#39;,&#39;134.00&#39;,null]},{&#39;id&#39;:&#39;6&#39;</code><code>,&#39;cell&#39;:[&#39;6&#39;,&#39;2007-10-05&#39;,&#39;Client 1&#39;,&#39;50.00&#39;,&#39;10.00&#39;,&#39;60.00&#39;,null]},{&#39;id&#39;:&#39;5&#39;,&#39;cell&#39;:[&#39;5&#39;,&#39;2007-10-05&#39;</code><code>,&#39;Client 3&#39;,&#39;100.00&#39;,&#39;0.00&#39;,&#39;100.00&#39;,&#39;no tax&#39;]},{&#39;id&#39;:&#39;4&#39;,&#39;cell&#39;:[&#39;4&#39;,&#39;2007-10-04&#39;,&#39;Client 3&#39;,&#39;150.00&#39;</code><code>,&#39;0.00&#39;,&#39;150.00&#39;,&#39;no tax&#39;]}],&#39;userdata&#39;:{&#39;amount&#39;:3220,&#39;tax&#39;:342,&#39;total&#39;:3564,&#39;name&#39;:&#39;Totals:&#39;}}<br /></code></pre>
<p>But the error is: format is undefined, and i don&#39;t know the cause.</p>
</p>
<p>Thanks,</p>
<p>Jorel</p>
]]></description>
        	        	<pubDate>Fri, 18 Sep 2009 14:59:18 +0300</pubDate>
        </item>
</channel>
</rss>