<?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 on: Understanding Flex 3 Migration Issues (Part I)</title>
	<atom:link href="http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/feed/" rel="self" type="application/rss+xml" />
	<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/</link>
	<description>Flex Bugs, Solutions, and News... from a quality perspective</description>
	<lastBuildDate>Mon, 16 Nov 2009 17:39:00 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jlafferty</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-3110</link>
		<dc:creator>jlafferty</dc:creator>
		<pubDate>Wed, 19 Nov 2008 22:04:19 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-3110</guid>
		<description>@lakshmikanth :
1) You will want to use a custom headerRenderer. You can find an example here: http://blogs.adobe.com/aharui/item_renderers/ There will not be an extra row above the header, but, you can make it look like its an extra row.
2) An itemRenderer has to apply to an entire column. However, if you control what the itemRenderer does according to its data, then, you should be able to get it change behavior only for one row. For example, if you want the row with data.quantity=0 to have a red background, then you would use the same itemRenderer in each column. In that itemRenderer, you would override the set data function. In the set data function, you would check the data for data.quantity==0. If that is true, you&#039;d draw a red background. Hope that helps.

Joan</description>
		<content:encoded><![CDATA[<p>@lakshmikanth :<br />
1) You will want to use a custom headerRenderer. You can find an example here: <a href="http://blogs.adobe.com/aharui/item_renderers/" rel="nofollow">http://blogs.adobe.com/aharui/item_renderers/</a> There will not be an extra row above the header, but, you can make it look like its an extra row.<br />
2) An itemRenderer has to apply to an entire column. However, if you control what the itemRenderer does according to its data, then, you should be able to get it change behavior only for one row. For example, if you want the row with data.quantity=0 to have a red background, then you would use the same itemRenderer in each column. In that itemRenderer, you would override the set data function. In the set data function, you would check the data for data.quantity==0. If that is true, you&#8217;d draw a red background. Hope that helps.</p>
<p>Joan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lakshmikanth</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-3107</link>
		<dc:creator>lakshmikanth</dc:creator>
		<pubDate>Mon, 17 Nov 2008 15:37:27 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-3107</guid>
		<description>1. I want to add one row above the datagrid header is that possible ?  
2. I want to put the item renderer for only one row ?

expecting the reply .

thank you friends.</description>
		<content:encoded><![CDATA[<p>1. I want to add one row above the datagrid header is that possible ?<br />
2. I want to put the item renderer for only one row ?</p>
<p>expecting the reply .</p>
<p>thank you friends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-3027</link>
		<dc:creator>Graeme</dc:creator>
		<pubDate>Mon, 15 Sep 2008 14:42:19 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-3027</guid>
		<description>Thanks for the info on migration 2 to 3.  You saved me lots of time scratching my head (being new to flex and having migration as my first job).  I found that when dealing with DataGrid, after migration - whatever row item click event I selected the pop-up would show info for the row immediately above, and I could not select the first row.
In the click event&#039;s function I found the code read &quot;selMetricName = searchedMetricsAC[event.rowIndex-1].Column4;&quot; having many similar entries.  I found that by deleting &#039;-1&#039; thereby having the code read &quot;selMetricName = searchedMetricsAC[event.rowIndex].Column4;&quot; I made the application work. I&#039;m not sure if this is what you refered to in your text above.

Cheers.</description>
		<content:encoded><![CDATA[<p>Thanks for the info on migration 2 to 3.  You saved me lots of time scratching my head (being new to flex and having migration as my first job).  I found that when dealing with DataGrid, after migration &#8211; whatever row item click event I selected the pop-up would show info for the row immediately above, and I could not select the first row.<br />
In the click event&#8217;s function I found the code read &#8220;selMetricName = searchedMetricsAC[event.rowIndex-1].Column4;&#8221; having many similar entries.  I found that by deleting &#8216;-1&#8242; thereby having the code read &#8220;selMetricName = searchedMetricsAC[event.rowIndex].Column4;&#8221; I made the application work. I&#8217;m not sure if this is what you refered to in your text above.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dok</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-3021</link>
		<dc:creator>dok</dc:creator>
		<pubDate>Thu, 11 Sep 2008 06:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-3021</guid>
		<description>Thank you! &lt;a href=&quot;http://www.topbikez.ru&quot; rel=&quot;nofollow&quot;&gt; :) &lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thank you! <a href="http://www.topbikez.ru" rel="nofollow"> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ADRIAN DESS</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-3012</link>
		<dc:creator>ADRIAN DESS</dc:creator>
		<pubDate>Wed, 03 Sep 2008 08:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-3012</guid>
		<description>I will be very happy if Flex Team at least could confirm the bug or come out with workaround.
Thank you! :)</description>
		<content:encoded><![CDATA[<p>I will be very happy if Flex Team at least could confirm the bug or come out with workaround.<br />
Thank you! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: serfman</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-3001</link>
		<dc:creator>serfman</dc:creator>
		<pubDate>Mon, 18 Aug 2008 07:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-3001</guid>
		<description>Thank you!</description>
		<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlafferty</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-2958</link>
		<dc:creator>jlafferty</dc:creator>
		<pubDate>Wed, 02 Jul 2008 21:32:03 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-2958</guid>
		<description>@prashant: Can you give more details about your DataGrid? Are you using a custom itemEditor? If you want, you can file a bug at http://bugs.adobe.com/flex. Post the bug # here and I can take a look. - Joan</description>
		<content:encoded><![CDATA[<p>@prashant: Can you give more details about your DataGrid? Are you using a custom itemEditor? If you want, you can file a bug at <a href="http://bugs.adobe.com/flex" rel="nofollow">http://bugs.adobe.com/flex</a>. Post the bug # here and I can take a look. &#8211; Joan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prashant shelke</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-2956</link>
		<dc:creator>prashant shelke</dc:creator>
		<pubDate>Wed, 02 Jul 2008 05:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-2956</guid>
		<description>Hi,

I have just migrated my project to flex 3.0, I have resolved few warnings for resourceBundle. But Some editable dataGrid cell onFocusOut causing this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at mx.controls::DataGrid/destroyItemEditor()
	at mx.controls::DataGrid/itemEditorItemEditEndHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.core::UIComponent/dispatchEvent()
	at mx.controls::DataGrid/endEdit()
	at mx.controls::DataGrid/collectionChangeHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.collections::ListCollectionView/dispatchEvent()
	at mx.collections::ListCollectionView/replaceItemsInView()
	at mx.collections::ListCollectionView/listChangeHandler()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at mx.collections::ArrayList/setItemAt()
	at mx.collections::ListCollectionView/setItemAt()
Which results in closing of browser :-(
Can u please suggest any help ?
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have just migrated my project to flex 3.0, I have resolved few warnings for resourceBundle. But Some editable dataGrid cell onFocusOut causing this error:<br />
TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at mx.controls::DataGrid/destroyItemEditor()<br />
	at mx.controls::DataGrid/itemEditorItemEditEndHandler()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.core::UIComponent/dispatchEvent()<br />
	at mx.controls::DataGrid/endEdit()<br />
	at mx.controls::DataGrid/collectionChangeHandler()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.collections::ListCollectionView/dispatchEvent()<br />
	at mx.collections::ListCollectionView/replaceItemsInView()<br />
	at mx.collections::ListCollectionView/listChangeHandler()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at mx.collections::ArrayList/setItemAt()<br />
	at mx.collections::ListCollectionView/setItemAt()<br />
Which results in closing of browser <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
Can u please suggest any help ?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jlafferty</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-2927</link>
		<dc:creator>jlafferty</dc:creator>
		<pubDate>Wed, 07 May 2008 17:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-2927</guid>
		<description>I&#039;m not sure of about this problem. You might want to try asking on flexcoders. Also, search the bugbase for this error. What is the purpose of web.xml? Is this the dataProvider of your AdvancedDataGrid? Are you using LCDS?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure of about this problem. You might want to try asking on flexcoders. Also, search the bugbase for this error. What is the purpose of web.xml? Is this the dataProvider of your AdvancedDataGrid? Are you using LCDS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sylvester</title>
		<link>http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/#comment-2926</link>
		<dc:creator>Sylvester</dc:creator>
		<pubDate>Wed, 07 May 2008 13:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://butterfliesandbugs.wordpress.com/?p=60#comment-2926</guid>
		<description>there was a typo in line 4 ...in the prev message...
in web.xml 
i meant the welcome-file-list tag..if i give it as MainPage.mxml</description>
		<content:encoded><![CDATA[<p>there was a typo in line 4 &#8230;in the prev message&#8230;<br />
in web.xml<br />
i meant the welcome-file-list tag..if i give it as MainPage.mxml</p>
]]></content:encoded>
	</item>
</channel>
</rss>
