<?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: overwriting sortData</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata</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/overwriting-sortdata/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on overwriting sortData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p13128</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p13128</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks Harald - I will add this definetley into the code</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 16:59:45 +0200</pubDate>
        </item>
        <item>
        	<title>ghum on overwriting sortData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p13126</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p13126</guid>
        	        	<description><![CDATA[<p>....sorry, wanted to "replay" and not "report"....</p>
</p>
<p>I think using onSortCol is a really good idea, the fitting patch would be:</p>
</p>
<p>if($.isFunction(ts.p.onSortCol)) {if (ts.p.onSortCol.call(ts,index,idxcol,so)==&#39;stop&#39;) {return;}}</p>
</p>
<p>I recommend using "stop" as communication value instead of 0,1 or true or false, as the effect on existing usages would be minimal.</p>
</p>
<p>best wishes,</p>
</p>
<p>Harald</p>
]]></description>
        	        	<pubDate>Thu, 17 Dec 2009 16:34:58 +0200</pubDate>
        </item>
        <item>
        	<title>tony on overwriting sortData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p12960</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p12960</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Good point. Also for now not possible, but maybe one possible solution is to use the onSortCol event and depending on what this event return to enable/disable the remaining processing. Will think on this.</p>
<p>Thanks</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 13 Dec 2009 17:29:42 +0200</pubDate>
        </item>
        <item>
        	<title>ghum on overwriting sortData</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p12928</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/overwriting-sortdata#p12928</guid>
        	        	<description><![CDATA[<p>hello,</p>
<p>I would like to totally change the sort behaviour (in an experimental way).</p>
<p>I know of the onSortCol event; but I also know that it does not allow to "abandon" the sorting in a regular way.</p>
</p>
<p>So I would like to provide my own sortData method. Is there a more "release-robust" way then to patch into grid.base.js ?</p>
<p>My dream is "monkey-patching", after loading jquery and jqgrid having an additional code with</p>
<p>jqGrid.sortData=function (index, idxcol,reload,sor) {</p>
<p>// my own implementation</p>
<p>}</p>
</p>
<p>can somebody give me a hint how to do this monkey-patching?</p>
</p>
<p>best wishes</p>
</p>
<p>Harald</p>
]]></description>
        	        	<pubDate>Fri, 11 Dec 2009 15:44:22 +0200</pubDate>
        </item>
</channel>
</rss>