<?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: How to get updated list into surl for select?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-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/how-to-get-updated-list-into-surl-for-select/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dac60x on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6329</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6329</guid>
        	        	<description><![CDATA[<blockquote>
<p>dac60x said:</p>
<p>Hi,</p>
<p>First of all, I would like to thank for this amazing plugin!. Now go with my problem:</p>
<p>I have a grid with&#160;7 fileds, one of them is a select with too many values. I would like to know how to get all&#160;the values from a url&#160;like surl but&#160;when the&#160;grid is loaded (at the begining), not when I&#39;m using filter search like these examples.</p>
<p>Thanks.</p>
</blockquote>
<p>You can do it usen userData and loadComplete funtion:</p>
<p>loadComplete : function(){<br />&#160;&#160;&#160;&#160;&#160; var gfhs = jQuery("#s1instancia").getGridParam(&#39;userData&#39;);<br />&#160;&#160;&#160;&#160;&#160; $(&#39;#s1instancia&#39;).setColProp(&#39;gfh&#39;,{editoptions:{value:gfhs}});<br />&#160;&#160;&#160; },</p>
<p>Where gfh is the name of the column in colModel.</p>
</p>
<p>Thanks anyway.</p>
</p>
<hr />
]]></description>
        	        	<pubDate>Mon, 27 Apr 2009 07:23:49 +0300</pubDate>
        </item>
        <item>
        	<title>dac60x on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6320</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6320</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>First of all, I would like to thank for this amazing plugin!. Now go with my problem:</p>
<p>I have a grid with&#160;7 fileds, one of them is a select with too many values. I would like to know how to get all&#160;the values from a url&#160;like surl but&#160;when the&#160;grid is loaded (at the begining), not when I&#39;m using filter search like these examples.</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Mon, 27 Apr 2009 01:41:49 +0300</pubDate>
        </item>
        <item>
        	<title>Clement on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6243</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6243</guid>
        	        	<description><![CDATA[<p>Thanks for the advice! I&#39;ll try it out..</p>
]]></description>
        	        	<pubDate>Thu, 23 Apr 2009 09:52:20 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6209</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6209</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The search uses the jquery load - you can use ajaxStart and ajaxStop when (maybe you can use here a blockUI plugin) calling the search - and notify the user when the ajax is ended.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 22 Apr 2009 07:06:56 +0300</pubDate>
        </item>
        <item>
        	<title>Clement on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6188</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6188</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Any advice on how we could tell the the search form in "Multiple Form Search" demo is ready?</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Mon, 20 Apr 2009 20:30:23 +0300</pubDate>
        </item>
        <item>
        	<title>Clement on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6138</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6138</guid>
        	        	<description><![CDATA[<p>I realized I could get the list of previous selected items by $("#list").getPostDataItem("param_name") instead of passing back with userdata. This saved some network bandwidth..</p>
<p>However, I still haven&#39;t figure out how to know when the select element populated via surl is ready..</p>
]]></description>
        	        	<pubDate>Fri, 17 Apr 2009 12:03:47 +0300</pubDate>
        </item>
        <item>
        	<title>Clement on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6128</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6128</guid>
        	        	<description><![CDATA[<p>Just to add on..</p>
<p>I am using a search form with a single select element which has its 5000+ values populated via surl, defined in filterModel. This form is done with reference to &#8220;Multiple Form Search&#8221; at <a href="http://trirand.com/jqgrid/jqgrid.html" rel="nofollow" target="_blank">http://trirand.com/jqgrid/jqgrid.html</a> under &#8220;New in version 3.3&#8243;.</p>
<p>As the list of values in the select is quite large and it would take a while to load, is that any method/event I can use to know that the select is ready?</p>
<p>This is necessary so that I can automatically select those values selected previously. I am passing the previous selected values back to the grid via userdata.</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Fri, 17 Apr 2009 00:22:49 +0300</pubDate>
        </item>
        <item>
        	<title>Clement on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6109</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6109</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Yes, I did the latter by setting the setting the filter div to the original state when the filter layer hides and add the filter again when it shows.</p>
<p>onHeaderClick: function (stat) { if(stat == &#39;visible&#39; ){ //jQuery("#filter").html("Queue Selector"); <br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery("#filter").css("display","none"); } }</p>
<p>.navButtonAdd("#pager",{caption: "",title:"Queue Selector",buttonimg:"images/queue_select.gif", onClickButton:function(){ <br />&#160;&#160;&#160; &#160;&#160;&#160; if(jQuery("#filter").css("display")=="none") { &#160;&#160;&#160; &#160; jQuery("#filter").filterGrid("list", { filterModel:[{label:&#39;Queue&#39;, name: &#39;queue&#39;, stype: &#39;select&#39;, surl: &#39;Filter-Queue.csv&#39;}], formtype:&#39;vertical&#39;, enableSearch:true, enableClear:true, autosearch: false, afterSearch: function() { jQuery(".HeaderButton").trigger("click"); jQuery("#filter").css("display","none"); } } ); <br />&#160;&#160;&#160; &#160;&#160;&#160; jQuery(".HeaderButton").trigger("click"); jQuery("#filter").show(); }<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; });</p>
<p>However, I lost the previous filter selections. How can I reselect those values in the select element after I add the filter again? I thought of passing the current values (collected via userdata previously) back to the server page that generates the select html at surl to set those options as selected but not sure if there is a better way.</p>
</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Thu, 16 Apr 2009 09:10:58 +0300</pubDate>
        </item>
        <item>
        	<title>tony on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6084</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6084</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes this only once. In order to update the list you should make your own code to obtain the values from server and set it in the searchFilter.</p>
<p>Another possible solution is to empty the filter and create it agian.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 16 Apr 2009 03:48:05 +0300</pubDate>
        </item>
        <item>
        	<title>Clement on How to get updated list into surl for select?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6054</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-get-updated-list-into-surl-for-select#p6054</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I have setup filterModel to fetch the select list from a server page. However, the list changes over time. I notice that the list of values fetched by url is not updated after the server file is updated.</p>
<p>How can I get surl to read the list of values again once I click on the search button?</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Thu, 16 Apr 2009 00:20:20 +0300</pubDate>
        </item>
</channel>
</rss>