<?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: How do I clear the sort icon</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-clear-the-sort-icon</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/how-do-i-clear-the-sort-icon/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mconner on How do I clear the sort icon</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-do-i-clear-the-sort-icon#p21786</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-do-i-clear-the-sort-icon#p21786</guid>
        	        	<description><![CDATA[<p>I&#39;ve got a grid populated with an initial sort order that is not one of the columns, but I need to let the user sort the columns.&#160; Another event (outside the grid) reloads the grid as follows:</p>
<p>&#160;&#160;&#160; jq132("#mylist").jqGrid(&#39;setGridParam&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;{<br />&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;datatype: "json",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;url: getListUrl(), <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;page:1,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortname: "",<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;sortorder: ""<br />&#160;&#160; &#160;&#160;&#160;&#160; }).trigger("reloadGrid");</p>
<p>This works, In that the data is reloaded properly, but if the user has already changed the sort (clicking on a column header) the sort icon is left on that column.&#160; I&#39;ve tried:</p>
<p>&#160; $("#gbox_mylist .s-ico").css(&#39;display&#39;, &#39;none&#39;);</p>
<p>to clear the icon, and that works, but if you click on the same column after the reload, the icon will not reappear.&#160; You have to click on some other column, and then it seems to right itself.</p>
<p>Is there some way to clear the sort column entirely, as if the user had never clicked on a column?</p>
]]></description>
        	        	<pubDate>Fri, 21 Jan 2011 23:53:52 +0200</pubDate>
        </item>
</channel>
</rss>