<?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: Edit Dialog Buttons Dissappear after Error</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/edit-dialog-buttons-dissappear-after-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/edit-dialog-buttons-dissappear-after-error/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>scawa1952 on Edit Dialog Buttons Dissappear after Error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-dialog-buttons-dissappear-after-error#p19450</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-dialog-buttons-dissappear-after-error#p19450</guid>
        	        	<description><![CDATA[<p>Oh well......</p>
</p>
<p>Figured it out... rather quickly.....</p>
</p>
<p>I needed to add</p>
</p>
<p>"recreateForm: true,"&#160;</p>
</p>
<p>in the Edit Options........</p>
</p>
<p>Sorry.&#160; Maybe this post will help someone else.</p>
]]></description>
        	        	<pubDate>Tue, 31 Aug 2010 23:40:36 +0300</pubDate>
        </item>
        <item>
        	<title>scawa1952 on Edit Dialog Buttons Dissappear after Error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/edit-dialog-buttons-dissappear-after-error#p19449</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/edit-dialog-buttons-dissappear-after-error#p19449</guid>
        	        	<description><![CDATA[<p>I have the navgrid edit pager working to select a row and display the Edit Dialog box.&#160; It also goes out to my Servlet and executes correctly.&#160; In my servlet, I am checking for duplicate updated values and throwing an exception.&#160; The exception displays inside the Edit box and at this point the "Submit" and "Cancel" buttons dissappear.&#160;&#160; This prevents me from canceling the operation, so my only option is to Close the Dialog box by clicking the "X" in the corner.</p>
</p>
<p>However, when I select another row to edit, the dialog box re-appears without a "Submit" or "Cancel" button.&#160; Here is my Grid Definition:</p>
</p>
<p>&#160;&#160;&#160; $("#driverXRefTable").jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype:"local",<br />&#160;&#160; &#160;&#160;&#160; &#160;repeatitems: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Driver Name&#39;, &#39;SV Id&#39;, &#39;Nascar Id&#39;, &#39;&#39;, &#39;&#39;, &#39;&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;driverName&#39;, index:&#39;driverName&#39;, editable:false, editoptions:{readonly:true,size:250}, width: 250, align: &#39;right&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;driverSVID&#39;, index: &#39;driverSVID&#39;, editable: true, editoptions:{size:25}, width: 150, align: &#39;right&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;driverNascarId&#39;, index: &#39;driverNascarId&#39;,editable: true, editoptions:{size:25}, width: 150, align: &#39;right&#39;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;oldDriverSVID&#39;, index: &#39;oldDriverSVID&#39;, hidden: true, editable: true, editrules: {edithidden: false}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;oldDriverNascarId&#39;, index: &#39;oldDriverNascarId&#39;, hidden: true, editable: true, editrules: {edithidden: false}},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name: &#39;testDriverName&#39;, index: &#39;testDriverName&#39;, hidden:true, editable: true, editrules: {edithidden: false}}<br />&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;multiselect: false,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#driverXRefPgr&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; editurl: "/racemonitor?cmd=updateDriverXref",<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;caption: "Driver Xref",<br />&#160;&#160; &#160;&#160;&#160; &#160;width: 600,<br />&#160;&#160; &#160;&#160;&#160; &#160;height: "100%"<br />&#160;&#160; &#160;});&#160;&#160; &#160;<br />&#160;&#160; &#160;$("#driverXRefTable").jqGrid(&#39;navGrid&#39;, &#39;#driverXRefPgr&#39;, <br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{}, //options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:120,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; editCaption: "Edit Driver XRef",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; reloadAfterSubmit:false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; closeAfterEdit: true<br />&#160;&#160; &#160;&#160;&#160; &#160;}, // edit options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {height:120,reloadAfterSubmit:false}, // add options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {reloadAfterSubmit:false}, // del options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {} // search options<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; );</p>
</p>
<p>Is there something more I should do after this to clear out after this after getting a return error?</p></p>
]]></description>
        	        	<pubDate>Tue, 31 Aug 2010 23:39:13 +0300</pubDate>
        </item>
</channel>
</rss>