<?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: Cancelling Edit Form fatal error</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error</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/cancelling-edit-form-fatal-error/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ptrubey on Cancelling Edit Form fatal error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23333</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23333</guid>
        	        	<description><![CDATA[<p>Thanks, great reply.</p>
]]></description>
        	        	<pubDate>Thu, 26 May 2011 03:02:17 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Cancelling Edit Form fatal error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23326</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23326</guid>
        	        	<description><![CDATA[<p>It&#39;s depend on environment which you use. It you has <strong>ant</strong> tool, then see <a href="/blog/?page_id=393/help/cell-edition-for-a-checkbox/#p12639" target="_blank">here</a>. Other way could be to concatinate all jqGrid modules which you need in one file and run any minification tool (see <a href="http://en.wikipedia.org/wiki/Minification_%28programming%29" target="_blank">here</a>), for example <a href="http://developer.yahoo.com/yui/compressor/" target="_blank">YUI Compressor</a>. It is important to hold the order of some jqGrid modules. I recommend you to open <em>jquery.jqGrid.min.js</em> and examin the order of modules in the comment at the beginning of <em>jquery.jqGrid.min.js</em>:</p>
<p><strong>Modules:</strong> grid.base.js; jquery.fmatter.js; grid.custom.js; grid.common.js; grid.formedit.js; grid.filter.js; grid.inlinedit.js; grid.celledit.js; jqModal.js; jqDnR.js; grid.subgrid.js; grid.grouping.js; grid.treegrid.js; grid.import.js; JsonXml.js; grid.tbltogrid.js; grid.jqueryui.js;</p>
<p>If you are sure that you don&#39;t need some from the modules you can reduce the list.</p>
<p>I hope that in the short time will be published jqGrid 4.0.1. If it will be before your development will be finished you will need nothing to do.</p>
<p>Best regards<br />Oleg</p></p>
]]></description>
        	        	<pubDate>Wed, 25 May 2011 20:30:14 +0300</pubDate>
        </item>
        <item>
        	<title>ptrubey on Cancelling Edit Form fatal error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23324</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23324</guid>
        	        	<description><![CDATA[<p>It is a darn good thing message boards don&#39;t have audio as everyone would have heard a very loud scream 🙂</p>
</p>
<p>Thanks for the quick response, it fixes my issue.&#160; Is there any downside to using the latest source files from github as I work through my development?&#160; Are there instructions on how to create a minimized version of the code snapshot for when I transition my code to production?</p>
]]></description>
        	        	<pubDate>Wed, 25 May 2011 20:03:47 +0300</pubDate>
        </item>
        <item>
        	<title>kobruleht on Cancelling Edit Form fatal error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23323</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23323</guid>
        	        	<description><![CDATA[<p>To fix your existing installation add</p>
</p>
<p>recreateForm: true</p>
<p><span>to add method as described in</span></p>
<p><span>&#160;</span></p>
<p><span><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;"><span></p>
<p><span style="font-family: Consolas; color: #006400; font-size: x-small;"><span style="font-family: Consolas; color: #006400; font-size: x-small;"><span style="font-family: Consolas; color: #006400; font-size: x-small;"><a href="http://stackoverflow.com/questions/5972613/jqgrid-add-new-row-navigator-fails-exception-on-second-attempt-after-cancel" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....ter-cancel</a></span></span></span></span></span><span></p>
<p><span style="font-family: Consolas; color: #006400; font-size: x-small;"><span style="font-family: Consolas; color: #006400; font-size: x-small;"><span style="font-family: Consolas; color: #006400; font-size: x-small;"><a href="http://stackoverflow.com/questions/5972613/jqgrid-add-new-row-navigator-fails-exception-on-second-attempt-after-cancel" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....ter-cancel</a></span></span></span></span></span></span></p>
<p><span style="font-family: Consolas; color: #006400; font-size: x-small;"><span style="font-family: Consolas; color: #006400; font-size: x-small;"><span style="font-family: Consolas; color: #006400; font-size: x-small;"><a href="http://stackoverflow.com/questions/5972613/jqgrid-add-new-row-navigator-fails-exception-on-second-attempt-after-cancel" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....ter-cancel</a></span></span></span></p></p>
]]></description>
        	        	<pubDate>Wed, 25 May 2011 19:52:20 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on Cancelling Edit Form fatal error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23322</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23322</guid>
        	        	<description><![CDATA[<p>It is one of the most frequently reported bugs. It is fixed (see <a href="https://github.com/tonytomov/jqGrid/commit/9fd738fae5d1de97ee6fc25211ed39a6322152fe" target="_blank">here</a>) in the next days after the version 4.0.0 was published. If you use jquery.jqGrid.src.js you can do the same modifications yourself. You can consider to download the latest version of jqGrid from the <a href="https://github.com/tonytomov/jqGrid" target="_blank">github.com</a>. In the case you should include every jqGrid module which you use instead of one jquery.jqGrid.src.js file (see <a href="/jqgridwiki/doku.php?id=wiki:how_to_install#development_installation" target="_blank">here</a> for details).</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Wed, 25 May 2011 19:46:54 +0300</pubDate>
        </item>
        <item>
        	<title>ptrubey on Cancelling Edit Form fatal error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23321</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/cancelling-edit-form-fatal-error#p23321</guid>
        	        	<description><![CDATA[<p>I&#39;ve been using jqgrid for a while now, and just recently I&#39;ve come across this basic problem.&#160; I&#39;ve made a very basic test case that displays a grid with a single column.&#160; To invoke the error, click the Add icon to add a record, then hit the Cancel button to get rid of the dialog.&#160; Then click the Add icon again, and the dialog does not get displayed a second time, and javascript throws an error, which on firebug says:</p>
</p>
<p>fld[0] is undefined on line 6599 of the src version of the jqgrid file (jquery.jqGrid.src.js).</p>
</p>
<p>This is such a basic bug that I am trying to figure out what kind of config problem I may be having, but I&#39;m at a loss.&#160; I&#39;ve pared my test case back down to basics and I still have this problem.&#160; I am running Firefox 4.01, but have the same problem on IE8 and IE9 on another machine.&#160; The test case is at <a href="http://www.trubey.net/gsdhja2011/admin/test.html" rel="nofollow" target="_blank">http://www.trubey.net/gsdhja2011/admin/test.html</a> and you can view source to see the basic grid that I made, along with the javascript includes, etc.</p>
<p>The only external initialization the grid does is to request grid rows, and my test php for that is:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5992' value='Select Code' data-codeid='sfcode5992' /></p>
<div class='sfcode' id='sfcode5992'>&#60;?php <br />echo json_encode( array(<br />&#160;&#160; &#160;&#39;total&#39; =&#62; 1,<br />&#160;&#160; &#160;&#39;page&#39; =&#62; 1,<br />&#160;&#160; &#160;&#39;records&#39; =&#62; 0,<br />&#160;&#160; &#160;&#39;rows&#39; =&#62; array()<br />&#160;&#160; &#160;)<br />);<br />?&#62;</div>
</p>
<p>Which returns:&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5366' value='Select Code' data-codeid='sfcode5366' /></p>
<div class='sfcode' id='sfcode5366'>{&#34;total&#34;:1,&#34;page&#34;:1,&#34;records&#34;:0,&#34;rows&#34;:[]}</div>
<p>So again, I click the "Add" icon, get a form, cancel out of the form, click the "Add" icon again and javascript throws an error.</p>
<p>And here&#39;s the page source:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2850' value='Select Code' data-codeid='sfcode2850' /></p>
<div class='sfcode' id='sfcode2850'>&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#038;gt" rel="nofollow" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#038;gt</a>;<br />&#60;html&#62;<br />&#60;head&#62;<br />&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=iso-8859-1&#34; /&#62;<br />&#60;title&#62;Test&#60;/title&#62;</p>
<p>&#60;link type=&#34;text/css&#34; href=&#34;css/ui-lightness/jquery-ui-1.7.3.custom.css&#34; rel=&#34;stylesheet&#34; /&#62;&#160;&#160; &#160;<br />&#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;screen&#34; href=&#34;css/ui.jqgrid.css&#34; /&#62;<br />&#60;script type=&#34;text/javascript&#34; src=&#34;js/jquery-1.5.2.min.js&#34;&#62;&#60;/script&#62;<br />&#60;script type=&#34;text/javascript&#34; src=&#34;js/i18n/grid.locale-en.js&#34;&#62;&#60;/script&#62;<br />&#60;script type=&#34;text/javascript&#34; src=&#34;js/jquery.jqGrid.src.js&#34;&#62;&#60;/script&#62;</p>
<p>&#60;script&#62;<br />&#160;&#160; &#160;$(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;#aliasesGrid&#39;).jqGrid( {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; url: &#39;getTest.php&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#39;json&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;mtype: &#39;GET&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;editurl: &#39;setTest.php&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colNames: [&#39;aliasID&#39;,&#39;Alias&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel: [ <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; { name:&#39;id&#39;, index:&#39;id&#39;, hidden: true, width: 0 }, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160; { name:&#39;alias&#39;, index:&#39;alias&#39;, editable: true } <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;alias&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortorder: &#39;asc&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;caption: &#39;Aliases&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#aliasesNav&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} ).jqGrid(&#39;navGrid&#39;,&#39;#aliasesNav&#39;, {&#160; } , { } , { } , { } , { } , { } );<br />&#160;&#160; &#160;} );<br />&#60;/script&#62;<br />&#60;/head&#62;</p>
<p>&#60;body id=&#34;body&#34;&#62;<br />&#60;table id=&#34;aliasesGrid&#34;&#62;&#60;/table&#62; <br />&#60;div id=&#34;aliasesNav&#34;&#62;&#60;/div&#62; <br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
]]></description>
        	        	<pubDate>Wed, 25 May 2011 19:18:12 +0300</pubDate>
        </item>
</channel>
</rss>