<?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: jqgrid not showing data set thru setGridParam</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-showing-data-set-thru-setgridparam</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/jqgrid-not-showing-data-set-thru-setgridparam/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>chrismark on jqgrid not showing data set thru setGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-showing-data-set-thru-setgridparam#p25821</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-showing-data-set-thru-setgridparam#p25821</guid>
        	        	<description><![CDATA[<p>Ok solved this one. I had to clear the filter first:</p>
<p>var grid = jQuery(this.gridId);</p>
<p>grid[0].p.search = false;</p>
<p>jQuery.extend(grid[0].p.postData,{filters:&#39;&#39;});</p>
</p>
<p>before doing: grid.setGridParam({datatype: &#39;local&#39;, &#39;data&#39;: getGridParamData}).trigger(&#39;reloadGrid&#39;, [{page:1}]);</p>
</p>
<p>only then was I able to make loaded data show.</p></p>
]]></description>
        	        	<pubDate>Fri, 27 Jan 2012 10:33:23 +0200</pubDate>
        </item>
        <item>
        	<title>chrismark on jqgrid not showing data set thru setGridParam</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-showing-data-set-thru-setgridparam#p25789</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-not-showing-data-set-thru-setgridparam#p25789</guid>
        	        	<description><![CDATA[<p>Hello everyone.</p>
</p>
<p>I have a bit of a problem in making my data show in my grid.</p>
<p>I&#39;m using grid.setGridParam({datatype: &#39;local&#39;, &#39;data&#39;: getGridParamData}).trigger(&#39;reloadGrid&#39;, [{page:1}]); to load data to my grid. getGridParamData I got from grid.getGridParam(&#39;data&#39;). This method I use to revert to previously displayed data (ie, after local search we found nothing, so search server, but still we found nothing, so we revert to data displayed before local filter).</p>
<p>Now, the method above works on my OTHER grid which uses filterToolbar but THIS grid I&#39;m working currently doesn&#39;t use filterToolbar and the above method won&#39;t work.&#160;</p>
<p>Anybody can shed a light on why data set using above method doesn&#39;t display? I did a grid.getGridParam(&#39;data&#39;) and it&#39;s actually THERE but just not displaying.&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 25 Jan 2012 15:10:21 +0200</pubDate>
        </item>
</channel>
</rss>