<?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: client-side date sorting is not working</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working</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/client-side-date-sorting-is-not-working/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Octavient on client-side date sorting is not working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19357</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19357</guid>
        	        	<description><![CDATA[<p>Thank you--that worked.</p>
<p>Sorry--I&#39;d tried datefmt:"mm/dd/yyyy" but that hadn&#39;t worked.&#160;</p>
<p>Thanks for the replies.&#160; Great product, too.&#160;</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 04:21:47 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on client-side date sorting is not working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19356</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19356</guid>
        	        	<description><![CDATA[<p>You should include <strong>datefmt:"m/d/Y"</strong> in the column model which corresponds your date format. Corresponds to the <a href="/jqgridwiki/doku.php?id=wiki:colmodel_options" target="_blank">documentation</a> default value is the ISO Date (Y-m-d). Moreover I don&#39;t recomend you to use a large int value instead like <strong>rowNum:10000</strong>.</p>
<p>Best regards</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 02:35:56 +0300</pubDate>
        </item>
        <item>
        	<title>Octavient on client-side date sorting is not working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19351</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19351</guid>
        	        	<description><![CDATA[<p>Here&#39;s a snippet of the XML that the server is sending to the browser:</p>
</p>
<p class="p1">&#60;?xml version="1.0" encoding="utf-8" ?&#62;&#160;</p>
<p class="p2">&#60;rows&#62;</p>
<p class="p2">&#160; &#60;page&#62;1&#60;/page&#62;&#160;</p>
<p class="p2">&#160; &#60;total&#62;1&#60;/total&#62;&#160;</p>
<p class="p2">&#160; &#60;records&#62;10&#60;/records&#62;&#160;</p>
<p class="p1">&#60;row id="114584-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;114584-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;MAGGIE&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;6/10/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="115837-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;115837-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;CANDI&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;2/23/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="117156-2"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;117156-2&#60;/cell&#62;&#160;</p>
<p class="p2">&#160; &#60;cell&#62;ACE&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;5/17/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="117376-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;117376-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;JESSE&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;7/6/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="118718-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;118718-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;SADIE&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;6/7/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="119029-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;119029-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;RUSTY&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;5/22/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="120458-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;120458-1&#60;/cell&#62;&#160;</p>
<p class="p2">&#160; &#60;cell&#62;BUCK&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;6/2/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="123220-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;123220-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;KOHLE&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;5/23/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="123724-1"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;123724-1&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;SASSY&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;4/23/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p1">&#60;row id="125335-2"&#62;</p>
<p class="p3">&#160; &#60;cell&#62;125335-2&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;SHEEBA&#60;/cell&#62;&#160;</p>
<p class="p3">&#160; &#60;cell&#62;7/6/2010&#60;/cell&#62;&#160;</p>
<p class="p1">&#160; &#60;/row&#62;</p>
<p class="p2">&#60;/rows&#62;</p>
]]></description>
        	        	<pubDate>Fri, 27 Aug 2010 00:14:21 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on client-side date sorting is not working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19348</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19348</guid>
        	        	<description><![CDATA[<p>Without having test data which are wrong sorted it&#39;s impossible to help you. Just save XML data returned from &#39;/ajax.asp&#39; and include the data in your post.</p>
]]></description>
        	        	<pubDate>Thu, 26 Aug 2010 23:16:22 +0300</pubDate>
        </item>
        <item>
        	<title>Octavient on client-side date sorting is not working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19343</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/client-side-date-sorting-is-not-working#p19343</guid>
        	        	<description><![CDATA[<p>I&#39;m struggling to make the client-side date sorting work. &#160; I&#39;m using 3.7.2 (I heard that this version corrected a prior problem with client-side date sorting). &#160;</p>
<p>When I run the code below, the data displays correctly, and non-date columns sort correctly. &#160;Even the date column SEEMS to sort correctly, but when you look closely about 10 - 20% of the records are out of order.</p>
<p>I&#39;ve tried various permutations of different configuration options--the simplest version is pasted below.</p>
<p>Any ideas?</p>
</p>
<p class="p1">&#60;script type="text/javascript"&#62;</p>
<p class="p2">jQuery("#list3").jqGrid({</p>
<p class="p3">&#160;&#160; 	url:&#39;/ajax.asp&#39;,</p>
<p class="p2">datatype: "xml",</p>
<p class="p3">&#160;&#160; 	colNames:[&#39;IDField&#39;,&#39;TextField&#39;,&#39;DateField&#39;],</p>
<p class="p2">&#160;&#160; 	colModel:[</p>
<p class="p2">&#160;&#160; 		{name:&#39;IDField&#39;,index:&#39;IDField&#39;, hidden:true},</p>
<p class="p2">&#160;&#160; 		{name:&#39;TextField&#39;,index:&#39;TextField&#39;, width:120, sorttype:"text"},</p>
<p class="p2">&#160;&#160; 		{name:&#39;DateField&#39;,index:&#39;DateField&#39;, width:80, sorttype:"date"}</p>
<p class="p2">&#160;&#160; 	],</p>
<p class="p2">&#160;&#160; 	rowNum:-1,</p>
<p class="p2">&#160;&#160; 	rowList:[10,20,30],</p>
<p class="p2">&#160;&#160; 	pager: &#39;#pager3&#39;,</p>
<p class="p2">&#160; &#160; viewrecords: true,</p>
<p class="p2">&#160; &#160; loadonce: true,</p>
<p class="p2">&#160; &#160; height: 300</p>
<p class="p2">});</p>
<p class="p3">&#60;/script&#62;</p>
]]></description>
        	        	<pubDate>Thu, 26 Aug 2010 22:22:09 +0300</pubDate>
        </item>
</channel>
</rss>