<?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: Problem with dynamic select </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-dynamic-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/problem-with-dynamic-select/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>BaHeK83 on Problem with dynamic select </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-dynamic-select#p21808</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-dynamic-select#p21808</guid>
        	        	<description><![CDATA[<pre>hi, all
Can somebody explain me: which string`s format I must use in order to 
construct select element in jqGrid if I use function ? Quote from 
documentation: "When defined as function - the function should return 
either formated string or object."

i.e. in colModel I have
 { 
name:&#39;ContactType&#39;,index:&#39;ContactType&#39;,...,editable:true,edittype:"select",editoptions:{value:getContactTypeTA()},...}
and function definition is next

function getContactTypeTA()
{ return "{1:"Type1",2:"Type2"}";}

In this example function return "either formated" string - and that&#39;s 
really so: {1:"Type1",2:"Type2"}. BUT !!! In jqGrind that&#39;s don&#39; work.
<strong>Where can I find format for "either formated string" ?</strong>
Any suggestion?

Method supposed here 
http://geekswithblogs.net/renso/archive/2009/07/02/jqgrid-dynamically-loading-select-options.aspx

don&#39;t work too.

P.S. It is necessary use scheme without php (editoptions: { size: 
1,dataUrl: &#39;Includes/tblJobSelect.php&#39;,...}), because it use GET and I&#39;m 
use POST.</pre>
]]></description>
        	        	<pubDate>Mon, 24 Jan 2011 19:02:44 +0200</pubDate>
        </item>
</channel>
</rss>