<?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: custom ajax options</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options</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/custom-ajax-options/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>speedpacket on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14899</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14899</guid>
        	        	<description><![CDATA[<p>Tony,</p>
</p>
<p>That type did indeed cost me two weeks of work!!!</p>
<p>thanks so much for pointing me out; I usually check for typos as my first attempt of resolving issues, so this is a lifesaver!!!!</p>
</p>
<p>david.</p>
]]></description>
        	        	<pubDate>Wed, 17 Feb 2010 14:54:07 +0200</pubDate>
        </item>
        <item>
        	<title>tony on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14877</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14877</guid>
        	        	<description><![CDATA[<p>So not updated. Just to mark it</p>
<p>Sorry</p>
]]></description>
        	        	<pubDate>Wed, 17 Feb 2010 12:25:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14876</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14876</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There is menu support on this page. You can look to the end of this.</p>
<p>As I can see - is this your typo?</p>
<p>I think it should be data<strong>F</strong>ilter(data, type) and not datafilter(data, type)</p>
</p>
<p>Also which version of jQuery is used?</p>
</p>
<p>Try to specify dataFilter in ajaxGridOptions</p>
<p>Please let me known if this work.</p>
<p>Best regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 17 Feb 2010 12:25:20 +0200</pubDate>
        </item>
        <item>
        	<title>speedpacket on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14785</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14785</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>My apologies for bumping this post.&#160; Is there any chance we can get paid support for the grid?&#160; I know you offer it for the PHP and ASP option, but we just need the javascript (php is all fine...), but would love to be able to rely on support from you guys if that would be possible.</p>
</p>
<p>Don&#39;t understand me wrong - I don&#39;t want you to post an immediate response here, but if we could get something as paid support, it&#39;s easier for me to sell your grid internally as something we can use longterm...</p>
</p>
<p>This current thread is a showstopper for us, so if you might have a look, it would be MUCH appreciated!!!</p>
</p>
<p>David.</p>
]]></description>
        	        	<pubDate>Sat, 13 Feb 2010 14:53:43 +0200</pubDate>
        </item>
        <item>
        	<title>speedpacket on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14726</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14726</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>My apologies for not being cleared.</p>
<p>The ajaxSetup method allows me to set default options for all future AJAX requests.&#160;</p>
<p>I specified the following bit of code in my header:</p>
</p>
<p>jQuery(document).ready(function(){<br />&#160;&#160;&#160; // Set default AJAX options...<br />&#160;&#160;&#160; jQuery.ajaxSetup({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datafilter: function(data, dataType) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log("Pre-processing data...");<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return data;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; }</p>
<p>});</p>
</p>
<p>This means that all ajax requests performed after the setup was run, should use the settings I provided to the ajaxSetup function.</p>
<p>In this case, I set the datafilter option.&#160; Whenever this is set, jQuery is supposed to do the following when an ajax call is being performed (by your grid for instance):</p>
<p>1. Send request to the server</p>
<p>2. Send the result from the server to the datafilter function</p>
<p>3. Send the result from the datafilter function to ajaxComplete function (where you are probably updating your grid...)</p>
</p>
<p>What I would expect using the above piece of code in combination with your grid, is that each time your grid goes to the server, I would see a log message in the firebug console.&#160; At this time, however, I don&#39;t see my tests come through, and it appeas that for some reason any request made by your grid is not being passed through this datafilter function...</p>
]]></description>
        	        	<pubDate>Thu, 11 Feb 2010 18:30:33 +0200</pubDate>
        </item>
        <item>
        	<title>tony on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14695</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14695</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>How you do that?</p>
<p>If there is no code how can I determine somthing? The best will be if you provide a link to the problem</p>
<p>Regards</p></p>
]]></description>
        	        	<pubDate>Wed, 10 Feb 2010 15:40:00 +0200</pubDate>
        </item>
        <item>
        	<title>speedpacket on custom ajax options</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14607</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-ajax-options#p14607</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>All of our data is from the server is returned in a standard json object, meaning that next to the data your grid requires, each ajax call will in fact contain additional data such as error messages and other generic stuff...</p>
<p>Normally, we can use the $.ajaxSettings option to add a dataFilter function, and have all AJAX request results been pre-processed before returning to the actual caller (bring your grid), but for some reason ajax calls that are made by your grid do not go through this datafilter function.</p>
</p>
<p>Any idea?</p>
]]></description>
        	        	<pubDate>Sun, 07 Feb 2010 11:30:01 +0200</pubDate>
        </item>
</channel>
</rss>