<?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: ui-jqgrid-sortable class is applied to unsortable columns</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/ui-jqgrid-sortable-class-is-applied-to-unsortable-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/bugs/ui-jqgrid-sortable-class-is-applied-to-unsortable-columns/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>wayne.moir on ui-jqgrid-sortable class is applied to unsortable columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/ui-jqgrid-sortable-class-is-applied-to-unsortable-columns#p27014</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/ui-jqgrid-sortable-class-is-applied-to-unsortable-columns#p27014</guid>
        	        	<description><![CDATA[<p>In the colModel I am specifying a column to be sortable:false, however the class of ui-jqgrid-sortable (and the accompanying sorting markup) is still applied to the div that sits inside the column header.</p>
</p>
<p>colModel:[</p>
<p><span style="white-space:pre"> </span>{name:&#39;test4&#39;,index:&#39;test4&#39;,width:30,sortable:false}</p>
<p>]</p>
</p>
<p>Results in:</p>
<p>&#60;th class="ui-state-default ui-th-column ui-th-ltr" role="columnheader" id="list_test4&#8243; style="width: 48px;"&#62;</p>
<p><span style="white-space:pre"> </span>&#60;span class="ui-jqgrid-resize ui-jqgrid-resize-ltr" style="cursor: col-resize;"&#62;&#38;nbsp;&#60;/span&#62;</p>
<p><span style="white-space:pre"> </span>&#60;div id="jqgh_list_test4&#8243; class="ui-jqgrid-sortable"&#62;Test Time Date Stamp</p>
<p><span style="white-space:pre"> </span>&#60;span style="display:none" class="s-ico"&#62;</p>
<p><span style="white-space:pre"> </span>&#60;span class="ui-grid-ico-sort ui-icon-asc ui-state-disabled ui-icon ui-icon-triangle-1-n ui-sort-ltr" sort="asc"&#62;&#60;/span&#62;</p>
<p><span style="white-space:pre"> </span>&#60;span class="ui-grid-ico-sort ui-icon-desc ui-state-disabled ui-icon ui-icon-triangle-1-s ui-sort-ltr" sort="desc"&#62;&#60;/span&#62;</p>
<p><span style="white-space:pre"> </span>&#60;/span&#62;</p>
<p><span style="white-space:pre"> </span>&#60;/div&#62;</p>
<p>&#60;/th&#62;</p>
</p>
<p>Rending the icons and hiding them adds unnessecary markup and page weight, but I can live with that.</p>
</p>
<p>Having the ui-jqgrid-sortable class when the column is not sortable means that I cannot give proper&#160;affordance&#160;to sortable columns. By this I mean that showing the pointer cursor when hovering over the header indicates to the user that something will happen if they click on it, the problem is that this also occurs when hovering over columns that are unsortable and have no user actions available.</p></p>
]]></description>
        	        	<pubDate>Wed, 25 Jul 2012 11:11:05 +0300</pubDate>
        </item>
</channel>
</rss>