<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Silence is Foo &#187; as3</title>
	<atom:link href="http://raflabs.com/blogs/silence-is-foo/tag/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://raflabs.com/blogs/silence-is-foo</link>
	<description>Mental notes on Ruby, Git, Rails and whatever geeky thing</description>
	<lastBuildDate>Thu, 07 Apr 2011 19:11:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating a common sorting function for a DataGrid control in Flex</title>
		<link>http://raflabs.com/blogs/silence-is-foo/2010/06/28/creating-a-common-sorting-function-for-a-datagrid-control-in-flex/</link>
		<comments>http://raflabs.com/blogs/silence-is-foo/2010/06/28/creating-a-common-sorting-function-for-a-datagrid-control-in-flex/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 01:08:50 +0000</pubDate>
		<dc:creator>raf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[datagrids]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://raflabs.com/blogs/silence-is-foo/?p=186</guid>
		<description><![CDATA[THE PROBLEM
You have several non-related data grids (different columns with different field names) in the same application and you want to sort this columns of different data grids using the same sorting function.
THE SOLUTION
The first try would be using the DataGridColumn#sortCompareFunction method in the following way:

private function mySortingFunction ( obj1:Object, obj2:Object ) : int
{
  [...]]]></description>
		<wfw:commentRss>http://raflabs.com/blogs/silence-is-foo/2010/06/28/creating-a-common-sorting-function-for-a-datagrid-control-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

