<?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 Issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-issue</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-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>casperd on Date Sorting Issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/date-sorting-issue#p20348</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/date-sorting-issue#p20348</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I have a date column, with the following definition:</p>
<p>{name:&#39;ProjectStatusDate&#39;, width:90, align:&#39;center&#39;, sorttype:&#39;date&#39;, datefmt:&#39;m/d/Y&#39;, formatter:&#39;date&#39;},</p>
</p>
<p>In the afterInsertRow event, I add the following code:</p>
<p>$("#tblActiveProjects").setCell(rowid,&#39;ProjectStatusDate&#39;,"&#60;a href=&#39;Reports/RPT_Dashboard.asp?ReportProjectID= " + rowid + "&#39; target=_new title=&#39;Progress Updates on this project is outdated! Click to open the latest Project Dashboard&#39;&#62;" + $("#tblActiveProjects").getCell(rowid,4) + "&#60;/a&#62;","gridOverdue");</p>
</p>
<p>Now, the date sorting is not working. I&#39;m getting "NaN undefined NaN" in some of the date cells.</p>
</p>
<p>Any ideas?</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Mon, 18 Oct 2010 08:47:07 +0300</pubDate>
        </item>
</channel>
</rss>