<?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: Dynamicallly changing select options for add dialog</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/dynamicallly-changing-select-options-for-add-dialog</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/dynamicallly-changing-select-options-for-add-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kfrank on Dynamicallly changing select options for add dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/dynamicallly-changing-select-options-for-add-dialog#p19536</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/dynamicallly-changing-select-options-for-add-dialog#p19536</guid>
        	        	<description><![CDATA[<p>I am dynamically setting the select options for a column in my grid.&#160; It seems to work only if the add/edit dialog has not already been created.&#160;</p>
<p>eg.&#160;</p>
<p>&#160; jQuery("#grida").setColProp(&#39;playerid&#39;,{editoptions:{value: playerSelect} } ); <br />&#160;&#160;jQuery("#grida").trigger("reloadGrid");</p>
<p>&#160;Add a row -&#62; playerid select box has correct values</p>
<p>&#160;modify playerSelect</p>
<p>&#160;jQuery("#grida").setColProp(&#39;playerid&#39;,{editoptions:{value: playerSelect} } ); <br />&#160;&#160;jQuery("#grida").trigger("reloadGrid");</p>
<p>&#160;Add a row -&#62; playerid select box&#160;does not have updated&#160;values</p>
</p>
<p>Is there a way to destory the add/edit dialog so that the selection box will be recreated each time a row is added/edited?</p></p>
]]></description>
        	        	<pubDate>Mon, 06 Sep 2010 05:29:58 +0300</pubDate>
        </item>
</channel>
</rss>