<?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: Is there a FormEdit paging event?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/is-there-a-formedit-paging-event</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/is-there-a-formedit-paging-event/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Is there a FormEdit paging event?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/is-there-a-formedit-paging-event#p3026</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/is-there-a-formedit-paging-event#p3026</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>With the same success you can do this code in</p>
<p>onInitializeForm event which is fired only once. In beforeShowForm this is</p>
<p>fired every time you call the form.&#160;</p>
<p>Currently there are no events attched to these buttons, but tis actually</p>
<p>is very good idea for the next version.</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 11 Nov 2008 11:01:15 +0200</pubDate>
        </item>
        <item>
        	<title>Renso on Is there a FormEdit paging event?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/is-there-a-formedit-paging-event#p3004</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/is-there-a-formedit-paging-event#p3004</guid>
        	        	<description><![CDATA[<p>I have a list of addresses in the jqGrid. Using the formedit feature, select the row, click on form edit button on footer. In the form edit window, when the country USA is displayed the State dropdown box is hidden, when US selected the State dropdown is enabled and visible. This works fine with the code below as I set it on the "beforeShowForm" event. However, when I use the paging feature inside the formedit window pdata and nData), I need to reset the properties on the State for that row (like my code below). What event can I use for this?</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2747' value='Select Code' data-codeid='sfcode2747' /></p>
<div class='sfcode' id='sfcode2747'>beforeShowForm: function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //For USA enable the States drop down, for others disable<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($(&#39;#TblGrid_ListContactAddresses #Country:input&#39;).val() != 230) $(&#39;#TblGrid_ListContactAddresses #State:input&#39;).attr({disabled:&#39;disabled&#39;}).val(4);//4=not applicable<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#39;#TblGrid_ListContactAddresses #Country:input&#39;).bind(&#39;change&#39;, function()<br />&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if ($(this).val() == 230) $(&#39;#TblGrid_ListContactAddresses #State:input&#39;).attr({disabled:&#39;&#39;}).val(5);//5=not selected<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; else $(&#39;#TblGrid_ListContactAddresses #State:input&#39;).attr({disabled:&#39;disabled&#39;}).val(4);//4=not applicable<br />&#160;&#160;&#160;&#160;&#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; },</div>
]]></description>
        	        	<pubDate>Mon, 10 Nov 2008 14:47:35 +0200</pubDate>
        </item>
</channel>
</rss>