<?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: Grid Data refresh</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh</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/grid-data-refresh/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mnagireddy on Grid Data refresh</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p17024</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p17024</guid>
        	        	<description><![CDATA[<p>Hi Tony,&#160;</p>
<p>It worked&#160;perfectly. You saved my Sunday.&#160;</p>
<p>Thank you,</p>
<p>Madan</p>
]]></description>
        	        	<pubDate>Sun, 09 May 2010 14:31:05 +0300</pubDate>
        </item>
        <item>
        	<title>mnagireddy on Grid Data refresh</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p17023</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p17023</guid>
        	        	<description><![CDATA[<p>I will try&#160;</p>
<p>Thank you so much.&#160;</p>
<p>Madan</p></p>
]]></description>
        	        	<pubDate>Sun, 09 May 2010 14:06:21 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Grid Data refresh</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p17022</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p17022</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The trick is: before triggering the grid&#39;s set its datatype to "local".</p>
<p>Also you can switch from datatype to datatype without problems.</p>
<p>For this purpose you can use setGridParam({datatype:&#39;local&#39;});</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 09 May 2010 13:18:41 +0300</pubDate>
        </item>
        <item>
        	<title>mnagireddy on Grid Data refresh</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p16927</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p16927</guid>
        	        	<description><![CDATA[<p>Can someone please shed some light on this query please?</p>
<p>I am trying to do move the grid rows between two grids before I submit to the server?</p>
<p>&#160;Thank you,</p>
<p>Mohan</p></p>
]]></description>
        	        	<pubDate>Wed, 05 May 2010 21:46:40 +0300</pubDate>
        </item>
        <item>
        	<title>mnagireddy on Grid Data refresh</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p16735</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grid-data-refresh#p16735</guid>
        	        	<description><![CDATA[<p>Hi ,&#160;</p>
<p>I am relatively new user for Jquery/JqGrid .</p>
<p>I am working on a project which needs to move the Data between two grids.</p>
</p>
<p>1)&#160;&#160;&#160;&#160;&#160; Initially the data will load from the server for the both grids.</p>
<p>2)&#160;&#160;&#160;&#160;&#160; Then user should able to move the data between these two grids (not submit/load the data from the server) client side.</p>
<p>3)&#160;&#160;&#160;&#160;&#160; There are some other form elements users needs to input before submit the changes to server.</p>
</p>
<p><strong>function</strong> assignDistGroups(fromGrid, toGrid){</p>
</p>
<p>&#160;&#160;&#160; <strong>var</strong> selArr = $(&#39;#&#39; + fromGrid).jqGrid(&#39;getGridParam&#39;, &#39;selarrrow&#39;);</p>
<p>&#160;&#160;&#160; console.log("Selected rows on Available Dist :" + selArr);</p>
</p>
<p>&#160;&#160;&#160; $.each(selArr, <strong>function</strong>(value){</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>var</strong> selectedRowId = selArr[value];</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>var</strong> rowData = $(&#39;#&#39; + fromGrid).jqGrid(&#39;getRowData&#39;, selectedRowId);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log("Value :" + value);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log("Selected Row Index Value :" + selectedRowId);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log("Row Data Group Name :" + rowData[&#39;distGroupName&#39;]);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>var</strong> isAddSuccessful = $(&#39;#&#39; + toGrid).jqGrid(&#39;addRowData&#39;, selectedRowId, rowData, &#39;after&#39;, null);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <strong>var</strong> isRemoveSuccessful = $(&#39;#&#39;+fromGrid).jqGrid(&#39;delRowData&#39;, selectedRowId);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log("Is Successfully Added&#160; :" + isAddSuccessful);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; console.log("Is Successfully Removed&#160; :" + isRemoveSuccessful);</p>
</p>
<p>&#160;&#160;&#160; });</p>
</p>
<p>&#160;&#160;&#160;&#160;&#160; $(&#39;#&#39;+fromGrid).trigger("reloadGrid");</p>
<p>&#160;&#160;&#160;&#160;&#160; $(&#39;#&#39;+toGrid).trigger("reloadGrid");</p>
<p>&#160;&#160;&#160; <strong>return</strong> false;</p>
<p>}</p>
</p>
<p>$(&#39;#&#39;+fromGrid).trigger("reloadGrid");</p>
<p>$(&#39;#&#39;+toGrid).trigger("reloadGrid");</p>
</p>
<p>The .trigger(&#8220;reloadGrid&#8221;) call is refreshing from the server. Is there a way I can just refresh client side?</p>
</p>
<p>Thank you,</p>
<p>Mohan</p>
]]></description>
        	        	<pubDate>Tue, 27 Apr 2010 00:07:29 +0300</pubDate>
        </item>
</channel>
</rss>