<?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: Custom Sorttype &#38; onSortCol</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-sorttype-onsortcol</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/custom-sorttype-onsortcol/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>moloen on Custom Sorttype &#38; onSortCol</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-sorttype-onsortcol#p18358</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-sorttype-onsortcol#p18358</guid>
        	        	<description><![CDATA[<p>As I understand it right now, if I have a custom sorttype like sorttype:sortDate, the function sortDate will only be called when jqGrid is initialized and not the event onSortCol. Is the only way to make onSortcol call SortDate is by manually over riding onSortCol event and writing the tedious code that does this and updates the grid accordingly? Why doesn&#39;t defining the sorttype:sortDate just over ride onSortCol event automatically? I mean when the jqGrid gets initailized it sorts correctly, but when I call the event it must do some built in sort. Why I ask is because my sortDate function doesn&#39;t have any code that actually updates jqGrid. it just returns 1,-1, or 0. its used in something outside of jqGrid...</p>
]]></description>
        	        	<pubDate>Thu, 01 Jul 2010 17:46:57 +0300</pubDate>
        </item>
</channel>
</rss>