<?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: gridComplete event is not triggering at the proper time</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/gridcomplete-event-is-not-triggering-at-the-proper-time</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/gridcomplete-event-is-not-triggering-at-the-proper-time/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jeffstubler on gridComplete event is not triggering at the proper time</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/gridcomplete-event-is-not-triggering-at-the-proper-time#p26193</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/gridcomplete-event-is-not-triggering-at-the-proper-time#p26193</guid>
        	        	<description><![CDATA[<p>I am having the exact same problem as this thread:</p>
<p>/blog/?page_id=393/help/timing-of-gridcomplete-event-with-trirands-jqgrid/&#38;value=gridcomplete&#38;type=1&#38;include=1&#38;search=2&#38;ret=all</p>
<p>The gridComplete event gets called, but before all operations are complete. When debugging, I place a breakpoint inside the event function which gets called, but the Loading&#8230; indicator is still visible over the grid when the function gets called.</p>
<p>The relevant code:</p>
<div>
<p><input type='button' class='sfcodeselect' name='sfselectit5708' value='Select Code' data-codeid='sfcode5708' /></p>
<div class='sfcode' id='sfcode5708'>
<div>gridComplete: function () {</div>
<div class=" ">&#160; &#160;$(&#39;#gs_LeaseNumber&#39;, &#39;#lessee-lease-chooser-grid&#39;).val(&#39;12345&#39;);</div>
<div>&#160; &#160;$(&#39;#lessee-lease-chooser-grid&#39;).trigger(&#39;reloadGrid&#39;);</div>
<div>}</div>
</div>
</div>
<p>Placing the breakpoint on the second lines shows that this event is being called before the "Loading&#8230;" indicator disappears, and the textbox does not get populated.</p>
<p>loadComplete does not work, either. It functions properly when wrapping the function inside a one second timeout.</p>
<p>What should I do so that I can modify the filter of the filter after it loads?</p>
<p>Thanks.</p></p>
]]></description>
        	        	<pubDate>Thu, 22 Mar 2012 06:35:37 +0200</pubDate>
        </item>
</channel>
</rss>