<?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: Sort on multiple columns</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/sort-on-multiple-columns</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/sort-on-multiple-columns/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>HoSpiTaL_gHoSt on Sort on multiple columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/sort-on-multiple-columns#p10219</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/sort-on-multiple-columns#p10219</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Is there anyway you can sort a jqgrid on several columns? For example, first sort on last name, if they are equal, sort on first name, etc.</p>
<p>At the moment I solved this problem with a button "sort by name + first name" that sends a GET to the server with argument sortBy=name,first_name. The result of this GET call is my sorted JSON data which I put in the jqgrid with addJSONData. The only problem i&#39;m still having is that the sort image (the up or down arrow) is on the wrong column (= the column the grid was sorted on before the &#39;sort by name + first name&#39; button was clicked)</p>
<p>Is there a way to put the sort image on the 2 columns I sorted on? Or is there a better way to sort on multiple columns?</p>
]]></description>
        	        	<pubDate>Tue, 29 Sep 2009 02:42:33 +0300</pubDate>
        </item>
</channel>
</rss>