<?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: Date sorting from MS SQL</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql</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/date-sorting-from-ms-sql/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Date sorting from MS SQL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7137</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7137</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If it is possible could you please send me a link to the problem.</p>
<p>My e-mail is tony at trirand dot com.</p>
<p>Thanks</p>
<p>Best Regards</p></p>
]]></description>
        	        	<pubDate>Tue, 09 Jun 2009 09:00:58 +0300</pubDate>
        </item>
        <item>
        	<title>mweezer on Date sorting from MS SQL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7106</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7106</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>That causes the grid to not display at all.&#160; Any other ideas?&#160;</p>
<p>Thanks - Mike</p>
]]></description>
        	        	<pubDate>Mon, 08 Jun 2009 20:12:41 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Date sorting from MS SQL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7073</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7073</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Try with datefmt:mm/dd/yy</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Jun 2009 01:56:11 +0300</pubDate>
        </item>
        <item>
        	<title>mweezer on Date sorting from MS SQL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7065</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7065</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I don&#39;t think I stated the issue correctly.&#160; I need it to sort by chronological order.&#160; Right now it is displaying like this:</p>
<p>1/15/09</p>
<p>2/15/08</p>
<p>3/15/09</p>
</p>
<p>It isn&#39;t putting the dates in the correct order.</p>
<p>Thanks,</p>
<p>Mike</p>
]]></description>
        	        	<pubDate>Thu, 04 Jun 2009 10:40:36 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Date sorting from MS SQL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7053</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7053</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The date string from grid is allways converted to javascript date object, so you never get a chance to sort first by month then by day and the by year (if I understand right).</p>
<p>Try with sorttype:&#39;text&#39;</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 04 Jun 2009 05:00:32 +0300</pubDate>
        </item>
        <item>
        	<title>mweezer on Date sorting from MS SQL</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7018</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-from-ms-sql#p7018</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m trying to get jQuery Grid to sort by date, but it doesn&#39;t seem to work.</p>
<p>This line:</p>
<p>{name:&#39;RecDate&#39;,index:&#39;RecDate&#39;,width:350,sorttype:"date",datefmt:&#39;mm/dd/yyyy&#39;}</p>
<p>sorts by month, then by day, then by year.&#160; The date is displayed from MS SQL by:&#160; CONVERT(VARCHAR(12), d.RecDate, 101) AS RecDate,</p>
<p>This gives it the format of &#39;MM/DD/YY&#39;</p>
<p>How do I get it sort the dates from oldest to newest?</p>
<p>Thanks - Mike</p></p>
]]></description>
        	        	<pubDate>Tue, 02 Jun 2009 17:04:22 +0300</pubDate>
        </item>
</channel>
</rss>