<?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: loadBeforeSend setRequestHeader not being executed</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed</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/loadbeforesend-setrequestheader-not-being-executed/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on loadBeforeSend setRequestHeader not being executed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed#p30350</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed#p30350</guid>
        	        	<description><![CDATA[<p>Take a look in <a href="http://stackoverflow.com/a/6477061/315935" target="_blank">the old answer</a>&#160;and <a href="http://stackoverflow.com/a/10287508/315935" target="_blank">this one</a>. I think only that one should use <strong>beforeSend</strong>&#160;instead of <strong>loadBeforeSend</strong>. The option ajaxEditOptions (or ajaxRowOptions) allows you to set any option or callback of jQuery.ajax. So you can set <strong>beforeSend</strong>&#160;callback which is not used by jqGrid currently.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Wed, 12 Mar 2014 14:24:08 +0200</pubDate>
        </item>
        <item>
        	<title>dwschulze on loadBeforeSend setRequestHeader not being executed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed#p30349</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed#p30349</guid>
        	        	<description><![CDATA[<p>This happens when an edit is submitted. &#160;Apparently there are some special methods that have to be used when submitting an edit, but it&#39;s not clear how they work:</p>
</p>
<p><a href="http://stackoverflow.com/questions/10286780/jqgrid-with-wcf-data-services-odata-loadbeforesend-not-called-on-edit-mode-c" rel="nofollow" target="_blank"><a href="http://stackoverflow.com/quest" rel="nofollow">http://stackoverflow.com/quest</a>.....dit-mode-c</a></p></p>
]]></description>
        	        	<pubDate>Tue, 11 Mar 2014 18:16:56 +0200</pubDate>
        </item>
        <item>
        	<title>dwschulze on loadBeforeSend setRequestHeader not being executed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed#p30348</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/loadbeforesend-setrequestheader-not-being-executed#p30348</guid>
        	        	<description><![CDATA[<p>I can&#39;t set an Authorization param in the request header.</p>
</p>
<p>$("#prodTable").jqGrid({</p>
<p>&#160; &#160; loadBeforeSend: function(jqXHR) &#160;{</p>
<p><span style="font-size: 14px;">&#160; &#160; &#160; &#160; jqXHR.setRequestHeader("Authorization", basicAuthCredentials);</span></p>
<p><span style="font-size: 14px;">&#160; &#160; }</span></p>
<p><span style="font-size: 14px;"><br /></span></p>
<p>This is a show stopper. &#160;Thanks for your help.</p></p>
]]></description>
        	        	<pubDate>Tue, 11 Mar 2014 17:59:39 +0200</pubDate>
        </item>
</channel>
</rss>