<?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: calling jqgrid trigger("reloadGrid") from inside $.ajax success function</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/calling-jqgrid-triggerreloadgrid-from-inside-ajax-success-function</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/calling-jqgrid-triggerreloadgrid-from-inside-ajax-success-function/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on calling jqgrid trigger("reloadGrid") from inside $.ajax success function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/calling-jqgrid-triggerreloadgrid-from-inside-ajax-success-function#p22575</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/calling-jqgrid-triggerreloadgrid-from-inside-ajax-success-function#p22575</guid>
        	        	<description><![CDATA[<p>You can call trigger(&#39;reloadGrid&#39;) from inside of $.ajax in general. Which probelm exist in your code is difficult to say. I am sure that the problem is outside the code which you here posted.</p>
<p>I recommend you inclue always <strong>error</strong> handler in the $.ajax call. In your current code no trigger(&#39;reloadGrid&#39;) will be called in case of any errors.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 28 Mar 2011 13:55:11 +0300</pubDate>
        </item>
        <item>
        	<title>marxman on calling jqgrid trigger("reloadGrid") from inside $.ajax success function</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/calling-jqgrid-triggerreloadgrid-from-inside-ajax-success-function#p22564</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/calling-jqgrid-triggerreloadgrid-from-inside-ajax-success-function#p22564</guid>
        	        	<description><![CDATA[<p>it doesnt seem to work when i call trigger("reloadGrid") from inside an $.ajax success function.&#160;</p>
<p>$.ajax({</p>
<p>&#160;&#160; &#160; &#160; &#160;url: config.serviceURL,</p>
<p>&#160;&#160; &#160; &#160; &#160;dataType: &#39;json&#39;,&#160;&#160; &#160; &#160; &#160;</p>
<p><span style="white-space: pre;"> </span>data: JSON.stringify(config.jsonData),</p>
<p><span style="white-space: pre;"> </span>type: &#39;POST&#39;,</p>
<p><span style="white-space: pre;"> </span>contentType: &#39;application/json; charset=utf-8&#39;,</p>
<p><span style="white-space: pre;"> </span>success: function (data, textStatus, XMLHttpRequest) {</p>
<p><span style="white-space: pre;"> </span>grid.trigger(&#39;reloadGrid&#39;);</p>
<p><span style="white-space: pre;"> </span>}</p>
<p>});</p>
</p>
<p>what could be the problem?</p>
]]></description>
        	        	<pubDate>Mon, 28 Mar 2011 11:43:27 +0300</pubDate>
        </item>
</channel>
</rss>