<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Toggling sortable columns in a Flex DataGrid control</title>
	<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 05 Dec 2008 08:52:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Kelvin</title>
		<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-12544</link>
		<author>Kelvin</author>
		<pubDate>Wed, 07 May 2008 14:04:49 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-12544</guid>
		<description>Hi All.
Just incase, you come across this sample, you will find that Alejandro is talking the truth. For whatever reason the sortDescending property does not accurately reflect the sort order. For a good sample that works and shows the correct sorting order, take a look at http://blog.flexexamples.com/2007/08/23/determining-a-datagridcolumn-objects-current-sort-order/#more-117

It works as expected.</description>
		<content:encoded><![CDATA[<p>Hi All.<br />
Just incase, you come across this sample, you will find that Alejandro is talking the truth. For whatever reason the sortDescending property does not accurately reflect the sort order. For a good sample that works and shows the correct sorting order, take a look at <a href="http://blog.flexexamples.com/2007/08/23/determining-a-datagridcolumn-objects-current-sort-order/#more-117" rel="nofollow">http://blog.flexexamples.com/2007/08/23/determining-a-datagridcolumn-objects-current-sort-order/#more-117</a></p>
<p>It works as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fenix</title>
		<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-12334</link>
		<author>fenix</author>
		<pubDate>Mon, 28 Apr 2008 14:23:39 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-12334</guid>
		<description>Thanks for interesting clause</description>
		<content:encoded><![CDATA[<p>Thanks for interesting clause</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alejandro</title>
		<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-4653</link>
		<author>Alejandro</author>
		<pubDate>Fri, 30 Nov 2007 13:07:37 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-4653</guid>
		<description>Hi guys, someone knows why when i start clicking the datagrid header column, i receive two events with the same order? example:

label (sortDescending:false)
label (sortDescending:false)
label (sortDescending:true)

After the 3º click, the order ascending/descending starts to work correctly.

Is it a bug? 
thx in advance</description>
		<content:encoded><![CDATA[<p>Hi guys, someone knows why when i start clicking the datagrid header column, i receive two events with the same order? example:</p>
<p>label (sortDescending:false)<br />
label (sortDescending:false)<br />
label (sortDescending:true)</p>
<p>After the 3º click, the order ascending/descending starts to work correctly.</p>
<p>Is it a bug?<br />
thx in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-787</link>
		<author>peterd</author>
		<pubDate>Sun, 02 Sep 2007 17:15:07 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-787</guid>
		<description>Alberto,

Thanks for the heads up. The code actually has the '\n' if you download source, but something in the HTML or WordPress template always eats my single backslashes. I doubled up the backslash so now it should appear properly above.

Peter</description>
		<content:encoded><![CDATA[<p>Alberto,</p>
<p>Thanks for the heads up. The code actually has the &#8216;\n&#8217; if you download source, but something in the HTML or WordPress template always eats my single backslashes. I doubled up the backslash so now it should appear properly above.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alberto</title>
		<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-781</link>
		<author>Alberto</author>
		<pubDate>Sun, 02 Sep 2007 10:40:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-781</guid>
		<description>bit bug :)

debug.text  = column.dataField   " (sortDescending:"   column.sortDescending   ")"   "n";

At end, replace "n"; by "\n";</description>
		<content:encoded><![CDATA[<p>bit bug :)</p>
<p>debug.text  = column.dataField   &#8221; (sortDescending:&#8221;   column.sortDescending   &#8220;)&#8221;   &#8220;n&#8221;;</p>
<p>At end, replace &#8220;n&#8221;; by &#8220;\n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laoyu</title>
		<link>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-733</link>
		<author>laoyu</author>
		<pubDate>Sat, 01 Sep 2007 15:02:07 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/31/toggling-sortable-columns-in-a-flex-datagrid-control/#comment-733</guid>
		<description>very good!this is very basic sample!</description>
		<content:encoded><![CDATA[<p>very good!this is very basic sample!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
