You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2013/11/14 16:33:20 UTC

[jira] [Commented] (FLEX-33899) DataGrid goes blank when removing last item from dataProvider when requestedRowCount is set

    [ https://issues.apache.org/jira/browse/FLEX-33899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822517#comment-13822517 ] 

Maurice Amsellem commented on FLEX-33899:
-----------------------------------------

key to the bug is requestedRowCount.  
If you remove it and set explicit height for scrolling, or set it to a different value, the blank occur when number of items = requestedRowCount , and the list is scrolled to the bottom.
Investigating further...

> DataGrid goes blank when removing last item from dataProvider when requestedRowCount is set
> -------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33899
>                 URL: https://issues.apache.org/jira/browse/FLEX-33899
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.11.0, Apache Flex 4.12.0
>         Environment: Windows 7 64 bit, Adobe Air 2.6
>            Reporter: Piotr Zarzycki
>            Assignee: Maurice Amsellem
>         Attachments: GridTestBlank.zip
>
>
> Spark DataGrid with requestedRowCount=5, no height and dataProvider with 6 elements go blank in the following situation:
> 1: Scroll down to the last element
> 2: Remove last element from dataProvider
> Link to example app (zip, Intellij IDEA project): http://bit.ly/19jzbYR



--
This message was sent by Atlassian JIRA
(v6.1#6144)