<?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.LiveGrid ?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid</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-livegrid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jwinns on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20413</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20413</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>I wrote before, that I was not sure what I&#160;understood&#160;you correct, but till now I don&#39;t really understand what you want to achieve.</p>
<p>With <strong>scroll:true</strong> I have no&#160;experience&#160;because I don&#39;t use it in my programs. Probably other persons can help you.</p>
<p>If you get the data from the server you use probably the paging of data, so only one page of data should be reloaded. Because the data can be also changed from another users of the database any&#160;optimization&#160;of the data loading can be done only on the server side. For example you can implement different caching of data (see <a href="http://stackoverflow.com/questions/3885658/jqgrid-data-stored-in-browser-cache/3885956#3885956" target="_blank">this</a> my old answer for example for additional information). In the case the data (the page) will be not transfered one more time and only revalidated.</p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Hi Oleg,</p>
<blockquote>
<p>In the case the data (the page) will be not transfered one more time and only revalidated.</p>
</blockquote>
<p>Thats exactly what I would like to do, setting </p>
<p><input type='button' class='sfcodeselect' name='sfselectit4602' value='Select Code' data-codeid='sfcode4602' /></p>
<div class='sfcode' id='sfcode4602'>prmNames: { nd:null} can easily be done, but I don&#180;t know how to implement </div>
<p><input type='button' class='sfcodeselect' name='sfselectit1416' value='Select Code' data-codeid='sfcode1416' /></p>
<div class='sfcode' id='sfcode1416'>Cache-Control: max-age=0 and ETag.... I am using WEB2PY as Backend.</div>
<p>But I think I can&#180;t implement that without your help.</p>
</p>
<p>For now the Solution:</p>
<blockquote>
<p>$("#list").trigger("reloadGrid", [{current:true}]);</p>
</blockquote>
<p>works, but as I said only if:</p>
<blockquote>
<p>scroll: true,</p>
</blockquote>
<p>is not set! Then the reload of the Grid is visible to the user(it is shortly empty, before the data is loaded again),</p>
<p>and there are issues with the scrolling, I&#180;ve explained above.</p>
<p>Can anybody help me up with this?</p>
</p>
<p>Thanks for the effort till now Oleg.</p>
</p>
<p>JAY</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 20:24:40 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20407</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20407</guid>
        	        	<description><![CDATA[<p>I wrote before, that I was not sure what I&#160;understood&#160;you correct, but till now I don&#39;t really understand what you want to achieve.</p>
<p>With <strong>scroll:true</strong> I have no&#160;experience&#160;because I don&#39;t use it in my programs. Probably other persons can help you.</p>
<p>If you get the data from the server you use probably the paging of data, so only one page of data should be reloaded. Because the data can be also changed from another users of the database any&#160;optimization&#160;of the data loading can be done only on the server side. For example you can implement different caching of data (see <a href="http://stackoverflow.com/questions/3885658/jqgrid-data-stored-in-browser-cache/3885956#3885956" target="_blank">this</a> my old answer for example for additional information). In the case the data (the page) will be not transfered one more time and only revalidated.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 17:14:56 +0300</pubDate>
        </item>
        <item>
        	<title>jwinns on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20403</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20403</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hi Jay,</p>
<p>I am not sure that I understand you correct. Do you use <a href="/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow" target="_blank">reloadAfterSubmit</a>:false? I change some default values with</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7644' value='Select Code' data-codeid='sfcode7644' /></p>
<div class='sfcode' id='sfcode7644'>jQuery.extend(jQuery.jgrid.edit, {<br />&#160;&#160; &#160; // some other settings<br /><span>&#160;&#160; &#160;closeAfterAdd: true,<br /><span>&#160;&#160; &#160;closeAfterEdit: true,<br /><span>&#160;&#160; &#160;recreateForm: true,<br /><span>&#160;&#160; &#160;reloadAfterSubmit: false<br />});</span></span></span></span></div>
<p><span style="font-size: 13.8889px;">Best regards</span></p>
<p>Oleg&#160;</p>
</p>
</blockquote>
<hr />
<p>I don&#180;t use grid edit. I&#180;ve got an Server-side Process running which is feeding the DB and on the client-side JQgrid frequently reads the DB per JSON.</p>
<p>And now erverything is working fine except if I set the Grid to:</p>
<blockquote>
<p>scroll: true,</p>
</blockquote>
<p>then after every reload, the Grid jumps to Records 1 -20(wont stay at last scrolled, Example 20-30), the grid wont select "current" if selected is above 20 and the Grid is shortly cleared bevore the Records are inserted again(@2.)</p>
</p>
<p>JAY</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 16:56:48 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20402</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20402</guid>
        	        	<description><![CDATA[<p>Hi Jay,</p>
<p>I am not sure that I understand you correct. Do you use <a href="/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow" target="_blank">reloadAfterSubmit</a>:false? I change some default values with</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2263' value='Select Code' data-codeid='sfcode2263' /></p>
<div class='sfcode' id='sfcode2263'>jQuery.extend(jQuery.jgrid.edit, {<br />&#160;&#160; &#160; // some other settings<br /><span style=&#34;font-size: 13.8889px;&#34;>&#160;&#160; &#160;closeAfterAdd: true,<br /><span style=&#34;font-size: 13.8889px;&#34;>&#160;&#160; &#160;closeAfterEdit: true,<br /><span style=&#34;font-size: 13.8889px;&#34;>&#160;&#160; &#160;recreateForm: true,<br /><span style=&#34;font-size: 13.8889px;&#34;>&#160;&#160; &#160;reloadAfterSubmit: false<br />});</span></span></span></span></div>
<p><span style="font-size: 13.8889px; ">Best regards</span></p>
<p>Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 16:33:41 +0300</pubDate>
        </item>
        <item>
        	<title>jwinns on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20401</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20401</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hello!</p>
<p>You should use<span style="font-size: 13.8889px;">&#160;&#160; &#160;</span></p>
<p><input type='button' class='sfcodeselect' name='sfselectit7288' value='Select Code' data-codeid='sfcode7288' /></p>
<div class='sfcode' id='sfcode7288'>$(&#34;#list&#34;).trigger(&#34;reloadGrid&#34;, [{current:true}]);</div>
<p><span style="font-size: 13.8889px;">to do this (see for example my <a title="jqGrid paging question" href="http://stackoverflow.com/questions/3807623/jqgrid-paging-question/3808014#3808014" target="_blank">old answer</a> on the stackoverflow.com about this).</span></p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Next one commin`in:</p>
<p>Everything works just fine with:</p>
<blockquote>
<p>$("#list").trigger("reloadGrid", [{current:true}]);</p>
</blockquote>
<p>until I do:</p>
<blockquote>
<p>scroll: true,</p>
</p>
</blockquote>
<p>After every reload the Grid jumps back to the Records 1-20 and if i have scrolled down and selected for Example record 15, It won&#180;t work because it jumps back to Records 1-20 and no record is selected.</p>
<p>How can I achieve that the Grid stays in the last selected range of Records f.E. 20-30 and keeps the selected Record?</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 16:26:33 +0300</pubDate>
        </item>
        <item>
        	<title>jwinns on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20398</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20398</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Hello!</p>
<p>You should use<span style="font-size: 13.8889px;">&#160;&#160; &#160;</span></p>
<p><input type='button' class='sfcodeselect' name='sfselectit3876' value='Select Code' data-codeid='sfcode3876' /></p>
<div class='sfcode' id='sfcode3876'>$(&#34;#list&#34;).trigger(&#34;reloadGrid&#34;, [{current:true}]);</div>
<p><span style="font-size: 13.8889px;">to do this (see for example my <a title="jqGrid paging question" href="http://stackoverflow.com/questions/3807623/jqgrid-paging-question/3808014#3808014" target="_blank">old answer</a> on the stackoverflow.com about this).</span></p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Thanks, I came up with this one too, found @jqGrid.min.js.</p>
</p>
<p>Can anybody help with 2. Replacing only fields, which changed on Server? Or put me in the right direction where to start?</p>
<p>Thanks.</p>
</p>
<p>Jay</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 16:02:47 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20397</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20397</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>You should use<span style="font-size: 13.8889px;">&#160;&#160; &#160;</span></p>
<p><input type='button' class='sfcodeselect' name='sfselectit346' value='Select Code' data-codeid='sfcode346' /></p>
<div class='sfcode' id='sfcode346'>$(&#34;#list&#34;).trigger(&#34;reloadGrid&#34;, [{current:true}]);</div>
<p><span style="font-size: 13.8889px;">to do this (see for example my <a title="jqGrid paging question" href="http://stackoverflow.com/questions/3807623/jqgrid-paging-question/3808014#3808014" target="_blank">old answer</a> on the stackoverflow.com about this).</span></p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 15:48:36 +0300</pubDate>
        </item>
        <item>
        	<title>jwinns on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20396</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20396</guid>
        	        	<description><![CDATA[<p>@1: If I&#160; set the refreshstate:"current" :</p>
<blockquote>
<p>.jqGrid(&#39;navGrid&#39;,&#39;#%(id)s_pager&#39;,{refreshstate:"current"})</p>
</blockquote>
<p>and then press the refresh-button in the Navigator, it works as expected(last selected row stays selected).</p>
<p>So I need to know how to make an "refresh" with refreshstate:"current" on an Interval...</p>
</p>
<p>Can anyone help?</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 15:16:03 +0300</pubDate>
        </item>
        <item>
        	<title>jwinns on jqGrid.LiveGrid ?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20395</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-livegrid#p20395</guid>
        	        	<description><![CDATA[<p>Hi, I&#160; Tryin&#39; to make some kind of LiveGrid, loading data from JSON source.<br />It seems there is no built in Solution for refreshing the Grid on an given Interval?</p>
<p>So i do it like that:<br />var refreshgrid = setInterval(function() {&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#%(id)s").jqGrid().trigger("reloadGrid");&#160;&#160;&#160; }, 5000);</p>
<p>But there are a few Problems going like that:</p>
<p>1. After loadComplete the last selected row isn&#180;t selected anymore - How can I restore the last selected row after every reload?</p>
<p>2. It seems that the Grid-data is flushed, before the same data is read in again(Grid flares on reload) - How can achieve, that only the changed fields(if any) will be replaced(at an given Interval)?</p>
<p>Thanks in advance.</p>
<p>JAY</p>
]]></description>
        	        	<pubDate>Thu, 21 Oct 2010 12:16:55 +0300</pubDate>
        </item>
</channel>
</rss>