<?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: .trigger('reloadGrid')</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/triggerreloadgrid</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/triggerreloadgrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>TAlex on .trigger('reloadGrid')</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/triggerreloadgrid#p22330</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/triggerreloadgrid#p22330</guid>
        	        	<description><![CDATA[<p>I am having a similar problem as well.</p>
<p>My post is here&#160;/blog/?page_id=393/treegrid/how-to-handle-tree-grid-with-large-data-sets/</p>
]]></description>
        	        	<pubDate>Mon, 07 Mar 2011 18:30:50 +0200</pubDate>
        </item>
        <item>
        	<title>Energetic Pixels on .trigger('reloadGrid')</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/triggerreloadgrid#p18846</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/triggerreloadgrid#p18846</guid>
        	        	<description><![CDATA[<p>Ok. I finally have jqGrid working with both static xml files and static json files.&#160; Whew!</p>
</p>
<p>But I still have a slight nagging problem.&#160; I am using a website&#39;s menu to control the rendering of jqGrid and its data.&#160; I have the .trigger(&#39;reloadGrid&#39;) working just fine.&#160; But this only comes after clicking a menu item twice.&#160; This only needs to be done once for the application.&#160; Once done inside the application, the menu works ok.&#160; I am trying to get rid of the need to click a menu item once just to get the grid to operate correctly.&#160; Here is the starting script of jqGrid (it is tied to a button with id of smallarms):</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2171' value='Select Code' data-codeid='sfcode2171' /></p>
<div class='sfcode' id='sfcode2171'>$(&#39;#smallarms&#39;).click(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;itemAnalysis&#39;).hide();<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;#searchResults&#39;).jqGrid(&#39;GridUnload&#39;);<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;#searchResults&#39;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;weaponLib/ss-bullet22cal.xml&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#34;dodic&#34;,i....</div>
<p>My menu buttons have something like the following tied to them:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8702' value='Select Code' data-codeid='sfcode8702' /></p>
<div class='sfcode' id='sfcode8702'>$(&#34;#22cal&#34;).click( function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#34;#searchResults&#34;).jqGrid(&#39;setGridParam&#39;,{url:&#34;weaponLib/sa-bullet22cal.xml&#34;}).trigger(&#34;reloadGrid&#34;);<br />&#160;&#160; &#160;&#160;&#160; &#160;});</div>
</p>
<p>I am trying to get rid of having to click on the Small Arms button just to initiate the grid functionality, where my users/site visitors can just click on the drop down items (like the 22cal &#39;button&#39; in the above script) that displays below Small Arms when mouse is rolled over Small Arms.&#160; I still want to be able to reload the grid with different data when the user selects a different menu item.</p>
</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Wed, 28 Jul 2010 23:36:27 +0300</pubDate>
        </item>
</channel>
</rss>