You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by mspecht <ma...@bertelsmann.de> on 2013/09/05 11:34:37 UTC

Migrating to apache Flex 4.10 DataGridSkin issue

Hello,

we are migrating an AIR App from Flex 4.6 to Flex 4.10. One issue we had was
that some datagrids did not show the headers and cells with data. The issue
was related to the custom datagridskins that we used:



old:
   <s:Scroller id="scroller" minViewportInset="1"
hasFocusableChildren="false" height="100%">
                    
                    <s:Grid id="grid"
itemRenderer="spark.skins.spark.DefaultGridItemRenderer">
                        <s:GridLayer name="backgroundLayer"/>
                        <s:GridLayer name="selectionLayer"/>
                        <s:GridLayer name="editorIndicatorLayer"/>                            
                        <s:GridLayer name="rendererLayer"/>
                        <s:GridLayer name="overlayLayer"/>
                    </s:Grid>                    
                </s:Scroller>

new:
<s:Scroller id="scroller" minViewportInset="1" hasFocusableChildren="false"
height="100%">
					
					<s:Grid id="grid"
itemRenderer="spark.skins.spark.DefaultGridItemRenderer">
						<s:gridView>
							<fx:Component>
								<s:GridView>
									<s:GridLayer name="backgroundLayer"/>
									<s:GridLayer name="selectionLayer"/>
									<s:GridLayer name="editorIndicatorLayer"/>                            
									<s:GridLayer name="rendererLayer"/>
									<s:GridLayer name="overlayLayer"/>
								</s:GridView>
							</fx:Component>
						</s:gridView>
					</s:Grid>                    
				</s:Scroller>

Is there a migration guide where we should add such topics? Because other
users might have the same problem.


Best Regards,
Mario 



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Migrating-to-apache-Flex-4-10-DataGridSkin-issue-tp2572.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Migrating to apache Flex 4.10 DataGridSkin issue

Posted by Alex Harui <ah...@adobe.com>.

On 9/5/13 2:34 AM, "mspecht" <ma...@bertelsmann.de> wrote:

>Hello,
>
>we are migrating an AIR App from Flex 4.6 to Flex 4.10. One issue we had
>was
>that some datagrids did not show the headers and cells with data. The
>issue
>was related to the custom datagridskins that we used:
>
>Is there a migration guide where we should add such topics? Because other
>users might have the same problem.
Seems like a reasonable suggestion.  I added a wiki page here:
https://cwiki.apache.org/confluence/display/FLEX/Migrating+from+Adobe+Flex+
to+Apache+Flex

Feel free to add your experience as a comment on that page.

-Alex