<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Disable selection on some items in a spark List</title>
	<atom:link href="http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/</link>
	<description>Programming under the influence of Flex</description>
	<lastBuildDate>Thu, 17 May 2012 06:37:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Steven Shongrunden</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-3691</link>
		<dc:creator>Steven Shongrunden</dc:creator>
		<pubDate>Sat, 26 Mar 2011 06:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-3691</guid>
		<description>If people try using this code in Flex Hero (4.5) you will need to add an additional changeCaret parameter to the setSelectedIndex/setSelectedIndices method signature:

override mx_internal function setSelectedIndex(value:int, dispatchChangeEvent:Boolean = false, changeCaret:Boolean = true):void
...
override mx_internal function setSelectedIndices(value:Vector.&lt;int&gt;, dispatchChangeEvent:Boolean = false, changeCaret:Boolean = true):void
...</description>
		<content:encoded><![CDATA[<p>If people try using this code in Flex Hero (4.5) you will need to add an additional changeCaret parameter to the setSelectedIndex/setSelectedIndices method signature:</p>
<p>override mx_internal function setSelectedIndex(value:int, dispatchChangeEvent:Boolean = false, changeCaret:Boolean = true):void<br />
&#8230;<br />
override mx_internal function setSelectedIndices(value:Vector.<int>, dispatchChangeEvent:Boolean = false, changeCaret:Boolean = true):void<br />
&#8230;</int></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tink</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-1148</link>
		<dc:creator>Tink</dc:creator>
		<pubDate>Tue, 25 May 2010 14:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-1148</guid>
		<description>ez Steve

I&#039;ve updated mine and stuck a post here http://www.tink.ws/blog/flex-4-excludeselectionlist/.

It should be easy enough to use in the skin for a DropDownList to achieve the same results.</description>
		<content:encoded><![CDATA[<p>ez Steve</p>
<p>I&#8217;ve updated mine and stuck a post here <a href="http://www.tink.ws/blog/flex-4-excludeselectionlist/" rel="nofollow">http://www.tink.ws/blog/flex-4-excludeselectionlist/</a>.</p>
<p>It should be easy enough to use in the skin for a DropDownList to achieve the same results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex 4: ExcludeSelectionList &#124; Flash Player roundup</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-1029</link>
		<dc:creator>Flex 4: ExcludeSelectionList &#124; Flash Player roundup</dc:creator>
		<pubDate>Fri, 14 May 2010 14:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-1029</guid>
		<description>[...] tink.ws: This component was in part inspired by some work Steven Shongrunden had done and a task that we had on a [...]</description>
		<content:encoded><![CDATA[<p>[...] tink.ws: This component was in part inspired by some work Steven Shongrunden had done and a task that we had on a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tink &#187; Blog Archive &#187; Flex 4: ExcludeSelectionList</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-1024</link>
		<dc:creator>Tink &#187; Blog Archive &#187; Flex 4: ExcludeSelectionList</dc:creator>
		<pubDate>Thu, 13 May 2010 16:06:16 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-1024</guid>
		<description>[...] component was in part inspired by some work Steven Shongrunden had done and a task that I had for a [...]</description>
		<content:encoded><![CDATA[<p>[...] component was in part inspired by some work Steven Shongrunden had done and a task that I had for a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Shongrunden</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-1001</link>
		<dc:creator>Steven Shongrunden</dc:creator>
		<pubDate>Fri, 07 May 2010 20:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-1001</guid>
		<description>&lt;a href=&quot;#comment-998&quot; rel=&quot;nofollow&quot;&gt;@Tink &lt;/a&gt; - Cool, thanks for sharing the link.

I also expanded on this a little differently in &quot;&lt;a href=&quot;http://flexponential.com/2010/01/31/spark-dropdownlist-equivalent-of-the-html-optgroup-concept/&quot; rel=&quot;nofollow&quot;&gt;Spark DropDownList equivalent of the HTML optgroup tag&lt;/a&gt;&quot; by overriding the List&#039;s keyDownHandler.</description>
		<content:encoded><![CDATA[<p><a href="#comment-998" rel="nofollow">@Tink </a> &#8211; Cool, thanks for sharing the link.</p>
<p>I also expanded on this a little differently in &quot;<a href="http://flexponential.com/2010/01/31/spark-dropdownlist-equivalent-of-the-html-optgroup-concept/" rel="nofollow">Spark DropDownList equivalent of the HTML optgroup tag</a>&quot; by overriding the List&#8217;s keyDownHandler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tink</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-998</link>
		<dc:creator>Tink</dc:creator>
		<pubDate>Fri, 07 May 2010 18:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-998</guid>
		<description>I started this based on your class above

The class enables you to specify data types to excluded from the ability to select, meaning you don&#039;t need to have your data items implement an interface or extend a particular class (i.e. have a selectable property).

I also did a bit of extra work inside adjustSelectionAndCaretUponNavigation to make sure that the keyboard worked as expected.

http://code.google.com/p/tink/source/browse/trunk/ws/tink/spark/controls/SelectableExclusionList.as</description>
		<content:encoded><![CDATA[<p>I started this based on your class above</p>
<p>The class enables you to specify data types to excluded from the ability to select, meaning you don&#8217;t need to have your data items implement an interface or extend a particular class (i.e. have a selectable property).</p>
<p>I also did a bit of extra work inside adjustSelectionAndCaretUponNavigation to make sure that the keyboard worked as expected.</p>
<p><a href="http://code.google.com/p/tink/source/browse/trunk/ws/tink/spark/controls/SelectableExclusionList.as" rel="nofollow">http://code.google.com/p/tink/source/browse/trunk/ws/tink/spark/controls/SelectableExclusionList.as</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flexponential &#187; Spark DropDownList equivalent of the HTML optgroup concept</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-462</link>
		<dc:creator>Flexponential &#187; Spark DropDownList equivalent of the HTML optgroup concept</dc:creator>
		<pubDate>Sun, 31 Jan 2010 20:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-462</guid>
		<description>[...] a previous post I demonstrated how to create a custom List that allows some items to not be selectable. Building on [...]</description>
		<content:encoded><![CDATA[<p>[...] a previous post I demonstrated how to create a custom List that allows some items to not be selectable. Building on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flexponential &#187; Multiple selection in a spark List without the control key</title>
		<link>http://flexponential.com/2009/12/20/disable-selection-on-some-items-in-a-spark-list/comment-page-1/#comment-283</link>
		<dc:creator>Flexponential &#187; Multiple selection in a spark List without the control key</dc:creator>
		<pubDate>Sun, 20 Dec 2009 19:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://flexponential.com/?p=218#comment-283</guid>
		<description>[...] This sample uses an item renderer function to use a different renderer based on if the item is a heading or not. You can still select these heading items, but the heading renderer doesn&#8217;t look any different when it&#8217;s selected. Examining the selectedItems property of the List will show that the heading items are actually selected. If you don&#8217;t want to allow these items to be selected check out this post. [...]</description>
		<content:encoded><![CDATA[<p>[...] This sample uses an item renderer function to use a different renderer based on if the item is a heading or not. You can still select these heading items, but the heading renderer doesn&#8217;t look any different when it&#8217;s selected. Examining the selectedItems property of the List will show that the heading items are actually selected. If you don&#8217;t want to allow these items to be selected check out this post. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

