<?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 Search - Using Selects</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-search-using-selects</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-search-using-selects/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Custom Search - Using Selects</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-search-using-selects#p13659</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-search-using-selects#p13659</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Not sure that I can help on this.</p>
<p>Another possible solution is to get this result before/after creation of the grid and convert the values in a way that they can be set in editoptions value&#160; in colModel.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 07 Jan 2010 20:44:33 +0200</pubDate>
        </item>
        <item>
        	<title>Col on Custom Search - Using Selects</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-search-using-selects#p13622</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-search-using-selects#p13622</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I&#39;m trying to get a custom search working and using a web service to populate one drop down lists of the search criteria</p>
</p>
<p>The documentation says to use the surl parameter and edittype:&#39;select&#39;, which I am doing.&#160;</p>
</p>
<p>{ label: &#39;Type&#39;, name: &#39;type&#39;, stype: &#39;select&#39;, surl: &#39;../../../Services/Leads/GetLeads.svc/GetLeadTypeSelect&#39; },</p>
</p>
<p>The web service is then called and the html returned, but the problem is that as it is returned as a json string, the string is encoded and doesn&#39;t generate a dropdown list in the code.&#160;</p>
</p>
<p>My web service returns (as a string)...</p>
<p>&#60;select&#62;&#60;option id=&#39;1&#39;&#62; value 1 &#60;/option&#62;&#60;/select&#62;</p>
<p>but this is transformed into</p>
<p>"&#60;select&#62;&#60;option id=&#39;1&#39;&#62; value 1 &#60;\\/option&#62;&#60;\\/select&#62;"</p>
<p>(note the escape characters)</p>
<p>When inserted into the page, this obviously will not display a correctly formed dropdown list</p>
</p>
<p>Any help please on how I form my web service to return the expected html in the correct form</p>
</p>
<p>Thanks in advance,</p>
</p>
<p>Colin.</p>
]]></description>
        	        	<pubDate>Wed, 06 Jan 2010 23:43:53 +0200</pubDate>
        </item>
</channel>
</rss>