<?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: Bugs with filterToobar</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-with-filtertoobar</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/bugs/bugs-with-filtertoobar/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>UZER on Bugs with filterToobar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugs-with-filtertoobar#p24445</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugs-with-filtertoobar#p24445</guid>
        	        	<description><![CDATA[<p>There are few bugs with search toolbar.</p>
<p>I have two grids with local and json data type.</p>
<p>$("#grid").jqGrid("filterToolbar",{stringResult: true,searchOnEnter: false,afterSearch: function(){saveGridState("post");refreshFooter();}});</p>
<p>$("#grid")[0].triggerToolbar();</p>
<p>I have default values for search in colModel, which can be updated via AJAX request on search and should be loaded after page refresh.</p>
<p>1. When I have default values, I should apply triggerToolbar method after grid build (on local data) to apply these filters.</p>
<p>In case of presence stype:select with dataUrl in colModel select element loads asynchronously and toolbar triggers earlier of load this element. So it doesn&#39;t affect result filter. I believe, it better to use sync ajax request for loading select elements in search toolbar. setTimeout is not a good solution of this problem.</p>
<p>2. In case of json data toolbar triggers after data loads by grid. First data load calls without any filters in request. It&#39;s strange, but calling triggerToolbar in js code, as specified earlier, doesn&#39;t triggers reload data. Even if I call this method from gridComplete function, it not helps. Manual calling triggerToolbar from debug console after all processes completion filters data as well.</p>
<p>I still have no solution for the second problem.</p>
]]></description>
        	        	<pubDate>Mon, 29 Aug 2011 14:53:08 +0300</pubDate>
        </item>
</channel>
</rss>