<?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: filterGrid: initialize filter model</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model</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/filtergrid-initialize-filter-model/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on filterGrid: initialize filter model</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3868</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3868</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I think there is a simple solution for this. Just emty the div where you create the filterGrid and construct it again with a new one with the desired select values, after two reloads.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 07:55:19 +0200</pubDate>
        </item>
        <item>
        	<title>cage on filterGrid: initialize filter model</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3836</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3836</guid>
        	        	<description><![CDATA[<p>Happy new year,</p>
</p>
<p>unfortunately the precedent solution seem not work properly !</p>
<p>Have you an idea ?</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Tue, 06 Jan 2009 03:57:24 +0200</pubDate>
        </item>
        <item>
        	<title>cage on filterGrid: initialize filter model</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3766</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3766</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>finally I used the afterClear event.</p>
</p>
<p>All is fine now</p>
</p>
<p>Good evening</p>
]]></description>
        	        	<pubDate>Wed, 31 Dec 2008 10:26:57 +0200</pubDate>
        </item>
        <item>
        	<title>cage on filterGrid: initialize filter model</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3755</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3755</guid>
        	        	<description><![CDATA[<p>Thank&#39;s Tony.</p>
<p>I always have a problem.</p>
<p>There is a form with a grid, input fields and submit button to select the content of the grid.</p>
<p>Inside the grid there are select boxes to filter rows</p>
<p>On submit action, I use setPostDataItem to fix criteria with content of input fields and then trigger("reloadGrid"). That&#39;s OK.</p>
<p>On loadComplete, the select boxes are filled with new values. That&#39;s ok</p>
<p>But if there was a filter selected before use submit, the select value is transmitted and I don&#39;t obtain the correct data.</p>
<p>If I try using clearSearch() before use setPostDataItem and trigger("reloadGrid"),&#160; the additional criteria fix with setPostDataItem are not sended.</p>
<p>Is there a solution ?</p>
<p>Thanks</p>
<p>Gerard</p>
]]></description>
        	        	<pubDate>Mon, 29 Dec 2008 11:17:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on filterGrid: initialize filter model</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3744</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3744</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can use afterSearch event (see docs) something like</p>
<p>// I suppose you name for the select is myselect</p>
<p>afterSearch : function () {</p>
<p>jQuery("select[@name=myselect]","#filterelem").empty();</p>
<p>// here your code to add new options.</p>
<p>}</p>
<p>Regrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 29 Dec 2008 03:23:59 +0200</pubDate>
        </item>
        <item>
        	<title>cage on filterGrid: initialize filter model</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3702</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/filtergrid-initialize-filter-model#p3702</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I use the filterGrid with the filterModel and the type of the columns is &#39;select&#39;. This work fine.</p>
<p>Between two reload of the data, I would like to&#160; change the values of the select with new values, but this seem no be possible. The model keep always the first values.</p>
<p>Is there a way to empty the values fixed with the first call of filterGrid ?</p>
</p>
<p>Thanks and Merry Christmas</p>
</p>
<p>Gerard</p></p>
]]></description>
        	        	<pubDate>Wed, 24 Dec 2008 07:58:36 +0200</pubDate>
        </item>
</channel>
</rss>