<?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: jsonp - error</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jsonp-error</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/jsonp-error/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jsonp - error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonp-error#p16126</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonp-error#p16126</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks.</p>
<p>To be a honest I never test it with jsonp. Will do it and let you known.</p>
<p>BestRegards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 31 Mar 2010 20:47:13 +0300</pubDate>
        </item>
        <item>
        	<title>jsheldon on jsonp - error</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jsonp-error#p16027</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jsonp-error#p16027</guid>
        	        	<description><![CDATA[<p>I keep receiving an error that "req is undefined" in the grid.base.js around like 808, where the complete function is called for the ajax method to load the data.&#160; It seems that for a jsonp datatype, jquery doesn&#39;t pass the xmlrequest object which is causing the problem.</p>
<p>I modified the function slightly to break jsonp to it&#39;s own case statement like so:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8095' value='Select Code' data-codeid='sfcode8095' /></p>
<div class='sfcode' id='sfcode8095'>case &#34;jsonp&#34;:<br />&#160;&#160;&#160; var requestUrl = &#34;&#34;;<br />&#160;&#160;&#160; for(property in ts.p.postData)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; requestUrl = requestUrl + &#34;&#38;&#34; + property + &#34;=&#34; + ts.p.postData[property];<br />&#160;&#160; &#160;<br />&#160;&#160;&#160; requestUrl = ts.p.url + requestUrl;<br />&#160;&#160;&#160; $.getJSON(requestUrl, function(data)<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; addJSONData(data, ts.grid.bDiv, rcnt, npage &#62; 1, adjust);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (lc) lc.call(ts, req);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (pvis) ts.grid.populateVisible();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; endReq();<br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; break;</div>
<p>Not sure if this is a jquery version issue, a bug in jqgrid, or something I&#39;m doing wrong.&#160; But thought I&#39;d post what I&#39;ve done, in case anyone has any feedback on a better way, or to correct me in case I&#39;m doing something wrong.</p>
<p>I&#39;m using the latest version from github, and the latest jquery version.</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Mon, 29 Mar 2010 19:33:21 +0300</pubDate>
        </item>
</channel>
</rss>