<?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: load data into a select</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/load-data-into-a-select</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/load-data-into-a-select/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Polarbeer on load data into a select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-data-into-a-select#p20485</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-data-into-a-select#p20485</guid>
        	        	<description><![CDATA[<p>I wish to do the same thing. I had the following code:</p>
<p>colModel: [<br />{ name: &#39;ID&#39;, width: "100", sortable: true, sorttype: &#39;int&#39;, key: true },<br />{ name: &#39;FirstName&#39;, width: "150", sortable: true, sorttype: &#39;text&#39;, stype: "select", searchoptions: { value: function (pdata) { getFilterData(pdata); } } },<br />{ name: &#39;LastName&#39;, width: "150", sortable: true, sorttype: &#39;text&#39;, search: false}]</p>
</p>
<p>However it never seems to call the function I try to call.</p>
]]></description>
        	        	<pubDate>Tue, 26 Oct 2010 09:21:13 +0300</pubDate>
        </item>
        <item>
        	<title>zeker on load data into a select</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/load-data-into-a-select#p20428</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/load-data-into-a-select#p20428</guid>
        	        	<description><![CDATA[<p>var languages = $.ajax({url:&#39;test.php?q=3&#39;, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;async: false, <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;success: function(data, result) <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}).responseText;</p>
</p>
<p>I need to load this var to a select element on my grid, can anyone help me.</p>
</p>
<p>Output of languages:</p>
<p>{"value":[{"lng_Name":"Portugu\u00eas"},{"lng_Name":"Espanhol"},{"lng_Name":"Ingl\u00eas"}]}</p>
</p>
<p>And my element code:</p>
<p>{name:&#39;LINGUA DEF.&#39;,index:&#39;lng_Name&#39;, editable: true, resizable: true, edittype: "select", formatter: "select" }</p>
</p>
<p>and the code to load languages into "LINGUA DEF.":</p>
<p>&#160;$("#list2").setColProp(&#39;LINGUA DEF.&#39;, { editoptions: { value: languages} });</p>
<p>thanks in advance.</p>
]]></description>
        	        	<pubDate>Fri, 22 Oct 2010 11:45:51 +0300</pubDate>
        </item>
</channel>
</rss>