<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for User Interface at Workday Inc.</title>
	<atom:link href="http://workdayui.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://workdayui.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 01 Dec 2009 21:13:27 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on AutoSizingAdvancedDataGrid that fixes the variableRowHeight issues with mx.controls.AdvancedDataGrid by www.flexdatagrid.com</title>
		<link>http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/#comment-476</link>
		<dc:creator>www.flexdatagrid.com</dc:creator>
		<pubDate>Tue, 01 Dec 2009 21:13:27 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=15#comment-476</guid>
		<description>I made slight modifications that have resulted in better performance atleast for my scenario: just in case someone finds it helpful....

Add below code : 


                private var calculatedHeight:int=0;
    	private var calculatedListContentHeight:int=0;
    	private var calculatedHeightChanged:Boolean=false;
    	
    	override protected function commitProperties():void{
    		super.commitProperties();
    		if(calculatedHeightChanged){
    			verticalScrollPosition=0;
            	calculatedHeightChanged=false;
    			height=calculatedHeight;
    			listContent.height=calculatedListContentHeight;
	            if ( height &gt;= maxHeight ) {
                	this.verticalScrollPolicy = &quot;auto&quot;;
            	}
            	else this.verticalScrollPolicy = &quot;off&quot;;        

    		}
    	}



Change measure height to:
        protected function measureHeight():void 
        {
            var buffer:int = ((this.horizontalScrollBar!=null)?this.horizontalScrollBar.height:0);
            var maxContentHeight:int = maxHeight - (headerHeight + buffer);
            var listContentHeight:int = this.headerHeight + buffer + getMeasuredHeight(maxContentHeight);
            var hh:int =  listContentHeight + 2;
            if ( hh == this.height ) return;
            calculatedListContentHeight = listContentHeight;    
            calculatedHeight = hh;
            calculatedHeightChanged=true;
            invalidateProperties();
        }</description>
		<content:encoded><![CDATA[<p>I made slight modifications that have resulted in better performance atleast for my scenario: just in case someone finds it helpful&#8230;.</p>
<p>Add below code : </p>
<p>                private var calculatedHeight:int=0;<br />
    	private var calculatedListContentHeight:int=0;<br />
    	private var calculatedHeightChanged:Boolean=false;</p>
<p>    	override protected function commitProperties():void{<br />
    		super.commitProperties();<br />
    		if(calculatedHeightChanged){<br />
    			verticalScrollPosition=0;<br />
            	calculatedHeightChanged=false;<br />
    			height=calculatedHeight;<br />
    			listContent.height=calculatedListContentHeight;<br />
	            if ( height &gt;= maxHeight ) {<br />
                	this.verticalScrollPolicy = &#8220;auto&#8221;;<br />
            	}<br />
            	else this.verticalScrollPolicy = &#8220;off&#8221;;        </p>
<p>    		}<br />
    	}</p>
<p>Change measure height to:<br />
        protected function measureHeight():void<br />
        {<br />
            var buffer:int = ((this.horizontalScrollBar!=null)?this.horizontalScrollBar.height:0);<br />
            var maxContentHeight:int = maxHeight &#8211; (headerHeight + buffer);<br />
            var listContentHeight:int = this.headerHeight + buffer + getMeasuredHeight(maxContentHeight);<br />
            var hh:int =  listContentHeight + 2;<br />
            if ( hh == this.height ) return;<br />
            calculatedListContentHeight = listContentHeight;<br />
            calculatedHeight = hh;<br />
            calculatedHeightChanged=true;<br />
            invalidateProperties();<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AutoSizingAdvancedDataGrid that fixes the variableRowHeight issues with mx.controls.AdvancedDataGrid by www.flexdatagrid.com</title>
		<link>http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/#comment-475</link>
		<dc:creator>www.flexdatagrid.com</dc:creator>
		<pubDate>Tue, 01 Dec 2009 17:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=15#comment-475</guid>
		<description>I am also running into the same issue with performance - it looks  measureHeight gets callled multiple times when expanding/collapsing.. Is there a way to prevent this?</description>
		<content:encoded><![CDATA[<p>I am also running into the same issue with performance &#8211; it looks  measureHeight gets callled multiple times when expanding/collapsing.. Is there a way to prevent this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AutoSizingAdvancedDataGrid that fixes the variableRowHeight issues with mx.controls.AdvancedDataGrid by Colm</title>
		<link>http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/#comment-473</link>
		<dc:creator>Colm</dc:creator>
		<pubDate>Mon, 05 Oct 2009 20:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=15#comment-473</guid>
		<description>This is a very useful extension to the AdvancedDataGrid. However, I&#039;ve noticed that the rendering performance deteriorates significantly when using large volumes of Data within a grid with custom renderers. e.g. 500 rows in one of the nested levels. Has anyone else experienced something like this? Have you managed to overcome it/suggestions on how to improve performance?</description>
		<content:encoded><![CDATA[<p>This is a very useful extension to the AdvancedDataGrid. However, I&#8217;ve noticed that the rendering performance deteriorates significantly when using large volumes of Data within a grid with custom renderers. e.g. 500 rows in one of the nested levels. Has anyone else experienced something like this? Have you managed to overcome it/suggestions on how to improve performance?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AutoSizingAdvancedDataGrid that fixes the variableRowHeight issues with mx.controls.AdvancedDataGrid by Itay Cohen</title>
		<link>http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/#comment-472</link>
		<dc:creator>Itay Cohen</dc:creator>
		<pubDate>Thu, 24 Sep 2009 13:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=15#comment-472</guid>
		<description>Great solution.... i converted the code to work on Lists objects as well!!! thank you for the post!</description>
		<content:encoded><![CDATA[<p>Great solution&#8230;. i converted the code to work on Lists objects as well!!! thank you for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AutoSizingAdvancedDataGrid that fixes the variableRowHeight issues with mx.controls.AdvancedDataGrid by Terry</title>
		<link>http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/#comment-470</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Tue, 22 Sep 2009 16:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=15#comment-470</guid>
		<description>Me again.   I&#039;ve implemented this solution and it definitely works, however for large result sets I&#039;m losing the default styling on the ADG. i.e. No alternating row colors, no skins on the headers, etc.  Any suggestions?</description>
		<content:encoded><![CDATA[<p>Me again.   I&#8217;ve implemented this solution and it definitely works, however for large result sets I&#8217;m losing the default styling on the ADG. i.e. No alternating row colors, no skins on the headers, etc.  Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on AutoSizingAdvancedDataGrid that fixes the variableRowHeight issues with mx.controls.AdvancedDataGrid by Terry</title>
		<link>http://workdayui.wordpress.com/2008/05/09/autosizingadvanceddatagrid-that-fixes-the-variablerowheight-issues-with-mxcontrolsadvanceddatagrid/#comment-469</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Tue, 22 Sep 2009 14:18:53 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=15#comment-469</guid>
		<description>Hello,  can&#039;t find the definition of DEFAULT_MAX_HEIGHT.</description>
		<content:encoded><![CDATA[<p>Hello,  can&#8217;t find the definition of DEFAULT_MAX_HEIGHT.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Memory Leak in Flex 3.2 Lists &amp; Grids by diaper pee girl</title>
		<link>http://workdayui.wordpress.com/2009/02/05/memory-leak-in-flex-32-lists-grids/#comment-461</link>
		<dc:creator>diaper pee girl</dc:creator>
		<pubDate>Mon, 20 Jul 2009 20:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=28#comment-461</guid>
		<description>emm. thank you ))</description>
		<content:encoded><![CDATA[<p>emm. thank you ))</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Memory Leak in Flex 3.2 Lists &amp; Grids by Hob</title>
		<link>http://workdayui.wordpress.com/2009/02/05/memory-leak-in-flex-32-lists-grids/#comment-429</link>
		<dc:creator>Hob</dc:creator>
		<pubDate>Wed, 06 May 2009 18:14:02 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=28#comment-429</guid>
		<description>The error you&#039;re seeing isn&#039;t coming from StageEventProxy.  StageEventProxy is simply calling the event listener which was registered.  The error is actually being thrown from AdvancedDataGridBase.  Unfortunately you&#039;ll probably just have to spend some time in the debugger to see exactly why this is being thrown.  It might be a configuration problem on the grid, but more than likely its simply a bug in the grid.  We come across them all the time.  Question is:  Is this a critical error...  Meaning, once you dismiss it, does your app completely stop responding, or do you continue to be able to use it.  If the answer is the latter, then I wouldn&#039;t worry too much about it.  It&#039;ll only ever be a problem for folks running the Flash debug player.  If its the former, you&#039;ve probably got at least a 1/2  day of debugging ahead of you.</description>
		<content:encoded><![CDATA[<p>The error you&#8217;re seeing isn&#8217;t coming from StageEventProxy.  StageEventProxy is simply calling the event listener which was registered.  The error is actually being thrown from AdvancedDataGridBase.  Unfortunately you&#8217;ll probably just have to spend some time in the debugger to see exactly why this is being thrown.  It might be a configuration problem on the grid, but more than likely its simply a bug in the grid.  We come across them all the time.  Question is:  Is this a critical error&#8230;  Meaning, once you dismiss it, does your app completely stop responding, or do you continue to be able to use it.  If the answer is the latter, then I wouldn&#8217;t worry too much about it.  It&#8217;ll only ever be a problem for folks running the Flash debug player.  If its the former, you&#8217;ve probably got at least a 1/2  day of debugging ahead of you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Memory Leak in Flex 3.2 Lists &amp; Grids by Vijay Anand Mareddy</title>
		<link>http://workdayui.wordpress.com/2009/02/05/memory-leak-in-flex-32-lists-grids/#comment-428</link>
		<dc:creator>Vijay Anand Mareddy</dc:creator>
		<pubDate>Wed, 06 May 2009 17:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=28#comment-428</guid>
		<description>Hey  all was well until i unintentionally did a mouse drag i think somewhere on the AdvDataGrid...

am getting an error at 
[C:\Users\hob.spillane\Documents\Flex Builder 3\SDK_18268_PATCH\src\mx\managers\systemClasses\StageEventProxy.as:40]


TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://www.adobe.com/2006/flex/mx/internal::columnItemRendererFactory()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridBase.as:1454]
	at mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::columnItemRendererFactory()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:2094]
	at mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://www.adobe.com/2006/flex/mx/internal::columnItemRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridBase.as:1436]
	at mx.controls::AdvancedDataGridBaseEx/columnDraggingMouseMoveHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4916]
	at mx.managers.systemClasses::StageEventProxy/stageListener()[C:\Users\hob.spillane\Documents\Flex Builder 3\SDK_18268_PATCH\src\mx\managers\systemClasses\StageEventProxy.as:40]</description>
		<content:encoded><![CDATA[<p>Hey  all was well until i unintentionally did a mouse drag i think somewhere on the AdvDataGrid&#8230;</p>
<p>am getting an error at<br />
[C:\Users\hob.spillane\Documents\Flex Builder 3\SDK_18268_PATCH\src\mx\managers\systemClasses\StageEventProxy.as:40]</p>
<p>TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://www.adobe.com/2006/flex/mx/internal::columnItemRendererFactory()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridBase.as:1454]<br />
	at mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::columnItemRendererFactory()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:2094]<br />
	at mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://www.adobe.com/2006/flex/mx/internal::columnItemRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridBase.as:1436]<br />
	at mx.controls::AdvancedDataGridBaseEx/columnDraggingMouseMoveHandler()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4916]<br />
	at mx.managers.systemClasses::StageEventProxy/stageListener()[C:\Users\hob.spillane\Documents\Flex Builder 3\SDK_18268_PATCH\src\mx\managers\systemClasses\StageEventProxy.as:40]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Memory Leak in Flex 3.2 Lists &amp; Grids by Alexey</title>
		<link>http://workdayui.wordpress.com/2009/02/05/memory-leak-in-flex-32-lists-grids/#comment-412</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Tue, 24 Mar 2009 18:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://workdayui.wordpress.com/?p=28#comment-412</guid>
		<description>2Feng
You should download Data Visualization for Flex 3.3 separately and unzip it to Flex 3.3. SDK folder
http://www.adobe.com/products/flex/flexdownloads/#flex_DataVisualization</description>
		<content:encoded><![CDATA[<p>2Feng<br />
You should download Data Visualization for Flex 3.3 separately and unzip it to Flex 3.3. SDK folder<br />
<a href="http://www.adobe.com/products/flex/flexdownloads/#flex_DataVisualization" rel="nofollow">http://www.adobe.com/products/flex/flexdownloads/#flex_DataVisualization</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
