<?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>Li Guoliang &#187; ListEvent</title>
	<atom:link href="http://liguoliang.com/tag/listevent/feed/" rel="self" type="application/rss+xml" />
	<link>http://liguoliang.com</link>
	<description>ActionScript Flex Java JEE PHP...</description>
	<lastBuildDate>Wed, 08 Feb 2012 01:44:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flex: DataGrid使用ListEvent.ITEM_DOUBLE_CLICK监听双击事件</title>
		<link>http://liguoliang.com/2010/flex-datagrid%e4%bd%bf%e7%94%a8listevent-item_double_click%e7%9b%91%e5%90%ac%e5%8f%8c%e5%87%bb%e4%ba%8b%e4%bb%b6/</link>
		<comments>http://liguoliang.com/2010/flex-datagrid%e4%bd%bf%e7%94%a8listevent-item_double_click%e7%9b%91%e5%90%ac%e5%8f%8c%e5%87%bb%e4%ba%8b%e4%bb%b6/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 08:48:19 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[DoubleClicked]]></category>
		<category><![CDATA[ListEvent]]></category>
		<category><![CDATA[MouseEvent]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2010/01/1133/</guid>
		<description><![CDATA[之前没怎么注意, 一直用MouseEvent.DOUBLE_CLICK来监听DataGrid的双击事件. 但这样会造成即使在空行双击也会激发响应.
		datagridClasses.doubleClickEnabled = true;
		datagridClasses.addEventListe<p class='read-more'><a href='http://liguoliang.com/2010/flex-datagrid%e4%bd%bf%e7%94%a8listevent-item_double_click%e7%9b%91%e5%90%ac%e5%8f%8c%e5%87%bb%e4%ba%8b%e4%bb%b6/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2010/flex-datagrid%e4%bd%bf%e7%94%a8listevent-item_double_click%e7%9b%91%e5%90%ac%e5%8f%8c%e5%87%bb%e4%ba%8b%e4%bb%b6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[小技巧] 通过监听DataGrid的ListEvent.Change控制button是否可用.</title>
		<link>http://liguoliang.com/2008/%e5%b0%8f%e6%8a%80%e5%b7%a7-%e9%80%9a%e8%bf%87%e7%9b%91%e5%90%acdatagrid%e7%9a%84listeventchange%e6%8e%a7%e5%88%b6button%e6%98%af%e5%90%a6%e5%8f%af%e7%94%a8/</link>
		<comments>http://liguoliang.com/2008/%e5%b0%8f%e6%8a%80%e5%b7%a7-%e9%80%9a%e8%bf%87%e7%9b%91%e5%90%acdatagrid%e7%9a%84listeventchange%e6%8e%a7%e5%88%b6button%e6%98%af%e5%90%a6%e5%8f%af%e7%94%a8/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 13:01:24 +0000</pubDate>
		<dc:creator>老李</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[DataGrid]]></category>
		<category><![CDATA[ListEvent]]></category>

		<guid isPermaLink="false">http://liguoliang.com/2008/12/643/</guid>
		<description><![CDATA[如下, 在没有点击[默认]是, 后两个button的enable=false;
<a href="http://liguoliang.com/wp-content/uploads/2008/12/image2.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="180" alt="image" src="http://liguoliang.com/wp-content/uploads/2008/12/image-thumb2.png" width="244" border="0" /></a> 
点击一个之后:
<a href="http://liguoliang.com/wp-content/uploads/2008/12/image3.png"><img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="175" alt="image" src="http://liguoliang.com/wp-content/uploads/2008/12/image-thumb3.png" width="244" border="0" /></a> 
简单实现方法:
_dataGridStudent.addEventListener(ListEvent.CHANGE, onSlectedChange);
对应监听函数:

		_actionEd<p class='read-more'><a href='http://liguoliang.com/2008/%e5%b0%8f%e6%8a%80%e5%b7%a7-%e9%80%9a%e8%bf%87%e7%9b%91%e5%90%acdatagrid%e7%9a%84listeventchange%e6%8e%a7%e5%88%b6button%e6%98%af%e5%90%a6%e5%8f%af%e7%94%a8/'>More...</a></p>]]></description>
		<wfw:commentRss>http://liguoliang.com/2008/%e5%b0%8f%e6%8a%80%e5%b7%a7-%e9%80%9a%e8%bf%87%e7%9b%91%e5%90%acdatagrid%e7%9a%84listeventchange%e6%8e%a7%e5%88%b6button%e6%98%af%e5%90%a6%e5%8f%af%e7%94%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

