<?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: jqGrid column chooser sort available columns</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-column-chooser-sort-available-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/jqgrid-column-chooser-sort-available-columns/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>praveen on jqGrid column chooser sort available columns</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-column-chooser-sort-available-columns#p29538</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-column-chooser-sort-available-columns#p29538</guid>
        	        	<description><![CDATA[<p>I need the "available" columns (right panel) in a jqGrid column chooser dialog to be sorted alphabetically whenever I remove a column from the left panel (selected columns).</p>
<p>This does not seem to work correctly. For some columns, they get inserted into the correct position on the right-side list. But in some cases it fails.</p>
<p>For e.g. if my left-panel list contains column names - "Name", "Error", "Activity" and if I remove the columns in that order, then they must be displayed as "Activity", "Error", "Name". But they end up getting displayed randomly. In some cases, the column removed gets appended to the end of the list and in other cases, it gets inserted at the correct position.</p>
<p>I looked at ui.multiselect.js - _setSelected method where the logic of sorting the list is present but it does seem to have some flaws.</p>
<p>Can someone throw some light on this feature and let me know if there is anything else that needs to be done in getting this to work.</p>
<p>Our jqGrid consists of more than 30 columns. It would be nice to have the list sorted.</p>
]]></description>
        	        	<pubDate>Wed, 25 Sep 2013 15:57:41 +0300</pubDate>
        </item>
</channel>
</rss>