<?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"
	>
<channel>
	<title>Comments on: List/ComboBox Row Backgrounds in Flex</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<pubDate>Thu, 20 Nov 2008 12:45:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-119191</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Wed, 27 Aug 2008 16:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-119191</guid>
		<description>Christian,

I honestly don't know.  I'd imagine it's just a matter of implementing the passed rowColoringFunction to use the right offsets.  I haven't done any Flex development in a long; we gave up on the platform and switched to doing everything with JS.  Fewer platform-specific problems, far faster development, easier testing, etc.</description>
		<content:encoded><![CDATA[<p>Christian,</p>
<p>I honestly don't know.  I'd imagine it's just a matter of implementing the passed rowColoringFunction to use the right offsets.  I haven't done any Flex development in a long; we gave up on the platform and switched to doing everything with JS.  Fewer platform-specific problems, far faster development, easier testing, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-119110</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 27 Aug 2008 09:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-119110</guid>
		<description>Hi,

The thing is that I have the list with a vertical scroll bar.... If, for instance, the second item is "orange", when is scroll down the third item will become orange. If I scroll once more the fourth is "orange", etc... 

I want the colour to be attached to the actual ITEM... not to the index shown on screen!.

Can you help please.

Thanks,
Chris.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>The thing is that I have the list with a vertical scroll bar&#8230;. If, for instance, the second item is "orange", when is scroll down the third item will become orange. If I scroll once more the fourth is "orange", etc&#8230; </p>
<p>I want the colour to be attached to the actual ITEM&#8230; not to the index shown on screen!.</p>
<p>Can you help please.</p>
<p>Thanks,<br />
Chris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-91906</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Mon, 26 May 2008 16:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-91906</guid>
		<description>Amit,

That function gets passed in the index of the current row, both in the grid and in the data provider, so you should be able to use those to figure out what data (in your provider) the row is fronting, and do whatever logic is needed from there.  I'm not exactly sure how that would work with a Tree (since the data is hierarchical), but the same idea should work.</description>
		<content:encoded><![CDATA[<p>Amit,</p>
<p>That function gets passed in the index of the current row, both in the grid and in the data provider, so you should be able to use those to figure out what data (in your provider) the row is fronting, and do whatever logic is needed from there.  I'm not exactly sure how that would work with a Tree (since the data is hierarchical), but the same idea should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-91858</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Mon, 26 May 2008 12:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-91858</guid>
		<description>Hi, I need different row colors(not alternating) in a Tree based on some condition. Any idea how to do this?</description>
		<content:encoded><![CDATA[<p>Hi, I need different row colors(not alternating) in a Tree based on some condition. Any idea how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Code Sweat Blog &#187; Blog Archive &#187; Some Flex 2 Related Links (pt. two)</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-23653</link>
		<dc:creator>Code Sweat Blog &#187; Blog Archive &#187; Some Flex 2 Related Links (pt. two)</dc:creator>
		<pubDate>Thu, 05 Jul 2007 14:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-23653</guid>
		<description>[...] List/ComboBox Row Backgrounds in Flex at BarneyBlog [...]</description>
		<content:encoded><![CDATA[<p>[...] List/ComboBox Row Backgrounds in Flex at BarneyBlog [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-22766</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Thu, 28 Jun 2007 20:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-22766</guid>
		<description>The DataGrid extension is exactly the same, just with this line:

  public class RowColoringList extends List {

replaced with this one:

  public class RowColoringDataGrid extends DataGrid {

Obviously the import line needs to change as well.</description>
		<content:encoded><![CDATA[<p>The DataGrid extension is exactly the same, just with this line:</p>
<p>  public class RowColoringList extends List {</p>
<p>replaced with this one:</p>
<p>  public class RowColoringDataGrid extends DataGrid {</p>
<p>Obviously the import line needs to change as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-22737</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 28 Jun 2007 14:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-22737</guid>
		<description>Do you have an example for DataGrid?</description>
		<content:encoded><![CDATA[<p>Do you have an example for DataGrid?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: List/ComboBox Row Backgrounds in Flex &#171; Flash Enabled - Get Ready With Flash&#8230;</title>
		<link>http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-22313</link>
		<dc:creator>List/ComboBox Row Backgrounds in Flex &#171; Flash Enabled - Get Ready With Flash&#8230;</dc:creator>
		<pubDate>Mon, 25 Jun 2007 08:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/2007/06/22/listcombobox-row-backgrounds-in-flex/#comment-22313</guid>
		<description>[...] Row Backgrounds in&#160;Flex    Barney wrote: All the listy components in Flex (List, Datagrid, Tree, etc.) have a protected method called [...]</description>
		<content:encoded><![CDATA[<p>[...] Row Backgrounds in&nbsp;Flex    Barney wrote: All the listy components in Flex (List, Datagrid, Tree, etc.) have a protected method called [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
