<?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: Modifications needed for jqGrid to support WCF</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/modifications-needed-for-jqgrid-to-support-wcf</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/feature-request/modifications-needed-for-jqgrid-to-support-wcf/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Modifications needed for jqGrid to support WCF</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/modifications-needed-for-jqgrid-to-support-wcf#p9822</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/modifications-needed-for-jqgrid-to-support-wcf#p9822</guid>
        	        	<description><![CDATA[<p>Hello Steve,</p>
<p>Thanks. The upcomming 3.6 version will do this and more for all ajax requests used in jqGrid.</p>
<p>Best Regrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 18 Sep 2009 03:39:51 +0300</pubDate>
        </item>
        <item>
        	<title>SteveT on Modifications needed for jqGrid to support WCF</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/modifications-needed-for-jqgrid-to-support-wcf#p9809</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/modifications-needed-for-jqgrid-to-support-wcf#p9809</guid>
        	        	<description><![CDATA[<p>Hey Tony,</p>
</p>
<p>First, thanks for all the work you put into your product.&#160;</p>
</p>
<p>I use WCF to populate jqGrid.&#160; WCF is very snobby about how you submit the data.&#160; Previously, the only way we could get jqGrid to work with WCF was to set datatype to a function and do the ajax manually.&#160; This works fine but I wanted to use your built in &#39;Loading...&#39; text.&#160; I went ahead and made some modifications to the grid to get it to work without having to build your own datatype function.</p>
</p>
<p>Properties I added (with default):</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7370' value='Select Code' data-codeid='sfcode7370' /></p>
<div class='sfcode' id='sfcode7370'>&#160; contentType: "application/x-www-form-urlencoded; charset=UTF-8",<br />&#160; modifyPostData: null,</div>
</p>
<p>Code Change:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1161' value='Select Code' data-codeid='sfcode1161' /></p>
<div class='sfcode' id='sfcode1161'>
<p>case "script":<br />&#160; $.ajax({ url: ts.p.url, type: ts.p.mtype, dataType: dt, contentType: ts.p.contentType,<br />&#160; data: ($.isFunction(ts.p.modifyPostData)) ? ts.p.modifyPostData(ts.p.postData) : ts.p.postData,</p>
</div>
<p>&#160;Usage:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6054' value='Select Code' data-codeid='sfcode6054' /></p>
<div class='sfcode' id='sfcode6054'>contentType: "application/json; charset=utf-8",<br />modifyPostData: function(postdata) { return JSON.stringify(postdata); },</div>
</p>
<p>This will make it easier for us WCF&#39;ers and allow us to use your &#39;Loading&#39; tooltip thing.&#160; Thanks!!</p>
]]></description>
        	        	<pubDate>Thu, 17 Sep 2009 14:40:40 +0300</pubDate>
        </item>
</channel>
</rss>