<?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: Break on ErrorCopy j.p.colModel&#091;h&#093;.formoptions is undefined  error</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-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/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>wangzhen on Break on ErrorCopy j.p.colModel&#091;h&#093;.formoptions is undefined  error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p19771</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p19771</guid>
        	        	<description><![CDATA[<blockquote>
</blockquote>
<p>Hello! I have the same problem that Break on ErrorCopy j.p.colModel[h].formoptions is undefined error. How to stop itï¼Ÿthanks.</p>
]]></description>
        	        	<pubDate>Tue, 14 Sep 2010 05:11:08 +0300</pubDate>
        </item>
        <item>
        	<title>Steve-O on Break on ErrorCopy j.p.colModel&#091;h&#093;.formoptions is undefined  error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p17554</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p17554</guid>
        	        	<description><![CDATA[<p>I&#39;m getting the same error in firebug.&#160;</p>
<p>I am trying to save edited field data to an xml file after hitting the submit button, but the page just hangs and give the &#39;formoptions not defined&#39; error.&#160;</p>
</p>
<p>I&#39;ve looked into the &#39;<a href="/jqgridwiki/doku.php?id=wiki:common_rules" target="_blank">formoptions</a>&#39; options but I don&#39;t want to "reorder the elements in the form and to add some information before and after the editing element".&#160; I just am looking to change the data and save it to my DummData.xml as a string.</p>
</p>
<p>Here is the code.</p>
</p>
<p>&#60;%@ include file="/WEB-INF/jsp/include.jsp" %&#62;</p>
<p>&#60;link rel="stylesheet" type="text/css" media="screen" href="../decorations/layout/smoothness/jquery-ui-1.8.1.custom.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="../decorations/layout/ui.jqgrid.css" /&#62;<br />&#60;link rel="stylesheet" type="text/css" media="screen" href="../decorations/layout/help.css" /&#62;<br />&#60;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"&#62;&#60;/script&#62;<br />&#60;script type=&#39;text/javascript&#39; src=&#39;<a href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js&#039;&#62;&#60;/script&#038;gt" rel="nofollow" target="_blank"><a href="http://ajax.googleapis.com/aja" rel="nofollow">http://ajax.googleapis.com/aja</a>.....pt&#038;gt</a>;<br />&#60;script type="text/javascript" src="../javascript/otherIncludes/i18n/grid.locale-en.js"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript" src="../javascript/otherIncludes/jquery.jqGrid.min.js"&#62;&#60;/script&#62;</p>
<p>&#60;script type="text/javascript"&#62;<br />jQuery(document).ready(function(){ <br />&#160; jQuery("#list").jqGrid({<br />&#160;&#160;&#160; url:&#39;../javascript/otherIncludes/DummyData.xml&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; datatype: "xml",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160; colNames:[&#39;Time&#39;,&#39;Patient&#39;, &#39;Pharmacist&#39;,&#39;Notes&#39;,&#39;Status&#39;],<br />&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Time&#39;, index:&#39;Time&#39;, width:80, align:&#39;center&#39;,editoptions:{readonly:true,size:10}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Patient&#39;, index:&#39;Patient&#39;, width:50, align:&#39;center&#39;, editable:true,editoptions:{size:10}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Pharmacist&#39;, index:&#39;Pharmacist&#39;, width:50, align:&#39;center&#39;, editable:true,editoptions:{size:25}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Notes&#39;, index:&#39;Notes&#39;, width:50, align:&#39;center&#39;, editable:true, edittype:"textarea", editoptions:{rows:"2",cols:"20"}}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;Status&#39;, index:&#39;Status&#39;, width:50, align:&#39;center&#39;, editable:true,edittype:"select",editoptions:{value:"Booked:Booked;Complete:Complete;Deferred:Deferred"}},<br />&#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; ],<br />&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160; rowNum:16,<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; editurl: "../javascript/otherIncludes/DummyData.xml",<br />&#160;&#160;&#160; caption: &#39;Appointment Schedule For DD/MM/YYYY&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160; xmlReader : { <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; root: "Rows", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; row: "row", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; page: "Rows&#62;page",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; total: "Rows&#62;total", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; records : "Rows&#62;records", <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; repeatitems: true, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; cell: "cell"<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;&#160;&#160; <br />&#160; });<br />&#160; $("#bedata").click(function(){ <br />&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var gr = jQuery("#list").jqGrid(&#39;getGridParam&#39;,&#39;selrow&#39;); <br />&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if( gr != null ) jQuery("#list").jqGrid(&#39;editGridRow&#39;,gr,{height:280,reloadAfterSubmit:true},); <br />&#160; &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;else alert("Please Select Row"); }); </p>
<p>});&#160; <br />&#60;/script&#62; <br />&#160;&#60;script type="text/javascript"&#62;<br />&#160;&#160; &#160;$(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;$("#datepicker").datepicker();<br />&#160;&#160; &#160;});<br />&#160;&#160; &#160;&#60;/script&#62;<br />&#160;&#160; &#160;<br />&#60;br&#62;&#60;br&#62;<br />&#60;h1&#62;Appointments For Which Day?2&#60;/h1&#62;<br />&#60;form name="form1&#8243; action="" method="post"&#62;<br />&#60;input type="text" id="datepicker"&#62;&#60;input name="Submit" type="submit" value="Submit"&#62;<br />&#60;/form&#62; <br />&#60;br&#62;</p>
<p>&#60;table id="list" class="centerTable" &#62;&#60;/table&#62;<br />&#60;div id="pager"&#62;&#60;/div&#62; <br />&#60;input type="BUTTON" id="bedata" value="Edit Selected Row" /&#62;</p>
</p>
<p>Thanks for any and all help!</p>
</p>
<p>==UPDATE==</p>
<p>Nevermind guys im passed this issue.&#160; I just set some formoptions to see what happened and formoptions actually controls the display of the form, not the grid as I thought.&#160;</p>
</p>
<p>So no more formoptions not defined errors, but still having problems... my submit button in the form does nothing, literally.&#160;</p>
</p>
<p>Thanks anyway guys and gals.</p>
]]></description>
        	        	<pubDate>Fri, 28 May 2010 23:29:05 +0300</pubDate>
        </item>
        <item>
        	<title>DaElectric on Break on ErrorCopy j.p.colModel&#091;h&#093;.formoptions is undefined  error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p17291</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p17291</guid>
        	        	<description><![CDATA[<p>Dont mean to be an ass but what your doing wrong at this point is not posting examples of your code.</p>
<p>I suggest throwing an example up on jsbin.com and sending us a link to it.</p>
]]></description>
        	        	<pubDate>Wed, 19 May 2010 05:13:48 +0300</pubDate>
        </item>
        <item>
        	<title>Ed Valentine on Break on ErrorCopy j.p.colModel&#091;h&#093;.formoptions is undefined  error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p17263</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/break-on-errorcopy-j-p-colmodelh-formoptions-is-undefined-error#p17263</guid>
        	        	<description><![CDATA[<p>I am doing an ADD and I am getting this error in Firebug when I hit submit.</p>
<p>Any suggestions on what I am missing?</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Tue, 18 May 2010 03:05:38 +0300</pubDate>
        </item>
</channel>
</rss>