<?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: Scroll and sort problem</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem</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/scroll-and-sort-problem/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>glemarie on Scroll and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7724</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7724</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thanks a lot, it seems OK ! Great work.</p>
<p>Regards.</p>
]]></description>
        	        	<pubDate>Wed, 08 Jul 2009 15:20:46 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Scroll and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7720</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7720</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have make some changes when scroll true and we sort the grid. Could you plese download the last update from GitHub and try. Please let me know if this work as expected.</p>
<p>Thanks</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 08 Jul 2009 11:15:41 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on Scroll and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7719</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7719</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I suppose my explanation was not so clear... And by the way I made some more tests.</p>
<p>I use the Autoload. When I sort a column, the ajax request is : page 1, x rows, and the new specified sort order.</p>
<p>But in fact, the already loaded data is not cleared form the grid and the new result is added. For exemple, I have a total of 6 records (a, b, c, d, e, f) and my grid shows 3 rows (a, b, c). Then I click on my column to sort in reverse order. I then have a, b, c (the previous rows), f, e, d (the first page of my new request) in ly grid.</p>
<p>But I also found while testing that sometimes, it works (the grid is correctly emptied). It seems to vary depending on the data (column value empty or not ?). I made a test with 3 basic columns (text content, sometimes empty) and I can&#39;t find any rule... But with these 3 columns (more simple data than the code in my first post) it works nearly all the time.</p>
<p>I hope my exmplanation are not too "ugly"...</p>
<p>Thanks for tour time</p>
]]></description>
        	        	<pubDate>Wed, 08 Jul 2009 08:46:34 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Scroll and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7693</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7693</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is the default behaviour - the reason for this is simple - if you load a lot of data and then sort it (suppose what you want) then the new loaded data should be inserted into the grid in appropriate order. This is not impossible, but requiere a lot of work. Currently not planed feature.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 08 Jul 2009 05:29:37 +0300</pubDate>
        </item>
        <item>
        	<title>glemarie on Scroll and sort problem</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7635</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/scroll-and-sort-problem#p7635</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m currently trying to use the &#8220;scroll&#8221; and autoload functionality. It works well, but when I sort a column, it does not sort the already loaded data in the grid.</p>
<p>Instead, it loads the page #1 with the asked sort order and add these data at the end of the already loaded data.</p>
<p>I can see in the examples that it&#39;s not suppose to be like that, but I can&#39;t see why I have this result. Any help would be appreciated <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":-)" /></p>
<p>I user latest jqGrid3.5 beta (build 10).</p>
<p>jQuery(&#8221;#listEvenements&#8221;).jqGrid({</p>
<p>&#160;&#160;&#160; datatype: &#8220;json&#8221;,<br />&#160;&#160;&#160; url:&#39;getValues.php?type=contentEvenement&#39;,<br />&#160;&#160;&#160; colNames:[&#39;Type&#39;, &#39;Date&#39;, &#39;Statut&#39;, &#39;Contact&#39;, &#39;IdSociete&#39;, &#39;Soci&#38;eacute;t&#38;eacute;&#39;, &#39;Fichier&#39;, &#39;Outlook&#39;, &#39;Commercial&#39;],<br />&#160;&#160;&#160; colModel:[<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Type&#39;,index:&#39;Type&#39;, hidden: false, sortable:true, search: true, edittype:&#39;select&#39;, editoptions:{value:":Tous;1:Appel t&#233;l&#233;phonique;6:Pr&#233;sentation candidat;4:Pr&#233;sentation consultant;3:Proposition commerciale;2:Rdv de prospection;7:Suivi de mission"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Date&#39;,index:&#39;Date&#39;, align:"center", hidden: false, width:90, sortable:true, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Statut&#39;,index:&#39;Statut&#39;, hidden: false, width:80, sortable:true, search: true, edittype:&#39;select&#39;, editoptions:{value:":Tous;4:Planifi&#233;;3:Annul&#233;;2:R&#233;alis&#233;;1:Report&#233;"}},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Contact&#39;,index:&#39;Contact&#39;, align:"left", hidden: false, sortable:true, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;IdSociete&#39;,index:&#39;IdSociete&#39;, align:"left", hidden: true, sortable:true, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;NomSociete&#39;,index:&#39;NomSociete&#39;, hidden: false, sortable:true, search: true, edittype:&#39;select&#39;, editoptions:{value:":Toutes;60:3M;122:CCPSSP;13:CHSSNSPSST"}},&#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Fichier&#39;,index:&#39;Fichier&#39;, align:"center", hidden: false, width:50, sortable:false, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Outlook&#39;,index:&#39;Outlook&#39;, align:"center", hidden: false, width:50, sortable:false, search: false},<br />&#160;&#160;&#160; &#160;&#160;&#160; {name:&#39;Commercial&#39;,index:&#39;Commercial&#39;, hidden: true, sortable:true, search: true, edittype:&#39;select&#39;, editoptions:{value:":Tous;1:AAA"}}<br />&#160;&#160;&#160; &#160;&#160;&#160; ],<br />&#160;&#160;&#160; loadui:&#39;block&#39;,<br />&#160;&#160;&#160; loadtext:&#8221;Chargement&#8230;&#8221;,<br />&#160;&#160;&#160; pager: jQuery(&#39;#pagerEvenements&#39;),<br />&#160;&#160;&#160; hidegrid: true,<br />&#160;&#160;&#160; hiddengrid: false,<br />&#160;&#160;&#160; pgbuttons:false,<br />&#160;&#160;&#160; pginput:false,<br />&#160;&#160;&#160; viewrecords:false,<br />&#160;&#160;&#160; scroll: true, <br />&#160;&#160;&#160; rowNum:10, <br />&#160;&#160;&#160; imgpath: &#39;js/themes/emerit/images&#39;,<br />&#160;&#160;&#160; sortname: &#39;Date&#39;,<br />&#160;&#160;&#160; sortorder: &#8220;desc&#8221;,<br />&#160;&#160;&#160; caption: &#8220;Ev&#38;egrave;nements&#8221;,<br />&#160;&#160;&#160; forceFit: true,<br />&#160;&#160;&#160; loadonce: false,<br />&#160;&#160;&#160; width: 1000,<br />&#160;&#160;&#160; height: 120,<br />&#160;&#160;&#160; toolbar:[true, "top"],<br />&#160;&#160;&#160; ondblClickRow: function (rowid) {<br />&#160;&#160;&#160; &#160;&#160;&#160; document.location=&#39;editRdv.php?IdRDV=&#39;+rowid;<br />&#160;&#160;&#160; }<br />});</p>
]]></description>
        	        	<pubDate>Thu, 02 Jul 2009 15:17:21 +0300</pubDate>
        </item>
</channel>
</rss>