<?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>in a rush &#187; list component</title>
	<atom:link href="http://www.robrusher.com/tag/list-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robrusher.com</link>
	<description>UX software junkie</description>
	<lastBuildDate>Tue, 22 Jan 2013 18:42:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Dynamically resize nested Flex List with variableRowHeight</title>
		<link>http://www.robrusher.com/dynamically-resize-nested-flex-list-with-variablerowheight/</link>
		<comments>http://www.robrusher.com/dynamically-resize-nested-flex-list-with-variablerowheight/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 05:21:10 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[AdvancedDataGrid]]></category>
		<category><![CDATA[AutoSizingAdvancedDataGrid]]></category>
		<category><![CDATA[component]]></category>
		<category><![CDATA[containers]]></category>
		<category><![CDATA[itemRenderer]]></category>
		<category><![CDATA[List]]></category>
		<category><![CDATA[list component]]></category>
		<category><![CDATA[resize]]></category>
		<category><![CDATA[row heights]]></category>
		<category><![CDATA[scroll bars]]></category>
		<category><![CDATA[variableRowHeight]]></category>

		<guid isPermaLink="false">http://www.robrusher.com/?p=47</guid>
		<description><![CDATA[<p><p>Another quick post&#8230;</p>
<p>I was stuck recently with a <a href="http://www.flex.org" target="_blank">Flex</a> component that had a <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> with an <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#itemRenderer" target="_blank">itemRenderer</a>. The <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#itemRenderer" target="_blank">itemRenderer</a> contained another <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> with an <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#itemRenderer" target="_blank">itemRenderer</a>. Now the problem with this is that the data had unique counts &#8230;</p></p><p>The post <a href="http://www.robrusher.com/dynamically-resize-nested-flex-list-with-variablerowheight/">Dynamically resize nested Flex List with variableRowHeight</a> appeared first on <a href="http://www.robrusher.com">in a rush</a>.</p>]]></description>
				<content:encoded><![CDATA[<p>Another quick post&#8230;</p>
<p>I was stuck recently with a <a href="http://www.flex.org" target="_blank">Flex</a> component that had a <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> with an <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#itemRenderer" target="_blank">itemRenderer</a>. The <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#itemRenderer" target="_blank">itemRenderer</a> contained another <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> with an <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#itemRenderer" target="_blank">itemRenderer</a>. Now the problem with this is that the data had unique counts and the lists had variable row heights (<a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html#variableRowHeight" target="_blank">variableRowHeight</a> = true). The result was that containers would not dynamically resize enough to display the whole <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a>. In other words, the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> was clipped and vertical scroll bars were displayed.</p>
<p>After trying several ways to get it to resize correctly and failing miserably, I extended the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> component. As I was doing this, I found another post about an <a href="http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/" target="_blank">AutoSizingAdvancedDataGrid</a> by the guys at <a href="http://workday.com/" target="_blank">WorkDay</a> in which they had similar issues with the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html" target="_blank">AdvancedDataGrid</a>. Since the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html" target="_blank">AdvancedDataGrid</a> is similar to the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/ListBase.html" target="_blank">List</a>, I only had to make a couple of changes to get it working with the <a href="http://livedocs.adobe.com/flex/3/langref/mx/controls/List.html" target="_blank">List</a> component.</p>
<p><span style="text-decoration: line-through;">Once I get approval from my client, I&#8217;ll post the AutoSizingList. But until then&#8230;</span> see the <a href="http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/" target="_blank">WorkDay post</a> and their <a href="http://www.silvafug.org/blogStuff/AutoSizingAdvancedDataGrid/AdvancedDataGridComponent.html" target="_blank">example</a>. Thanks for the post <a href="http://workdayui.wordpress.com/author/workdayui/" target="_blank">khurram</a>.</p>
<p>Finally able to post the code:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_DynamicListSize_1229570250"
			class="flashmovie"
			width="400"
			height="310">
	<param name="movie" value="http://www.robrusher.com/wp-content/flexSWF/DynamicListSize/DynamicListSize.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.robrusher.com/wp-content/flexSWF/DynamicListSize/DynamicListSize.swf"
			name="fm_DynamicListSize_1229570250"
			width="400"
			height="310">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>The post <a href="http://www.robrusher.com/dynamically-resize-nested-flex-list-with-variablerowheight/">Dynamically resize nested Flex List with variableRowHeight</a> appeared first on <a href="http://www.robrusher.com">in a rush</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.robrusher.com/dynamically-resize-nested-flex-list-with-variablerowheight/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
