[
https://issues.apache.org/jira/browse/FLEX-33899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822448#comment-13822448
]
tom chiverton commented on FLEX-33899:
--------------------------------------
Grid.dataProvider_collectionChangeHandler() correctly sets
gridDimensions.rowCount and updateDisplayList() gets an unscaledHeight of 130
OK but setFixedRowHeight() calls gridDimensions.getRowHeight() which returns 26
fine.
Something goes wrong later on, because there is another call to
updateDisplayList later via validateDisplayList and the unscaledHeight is now 0.
> DataGrid goes blank when removing last item from dataProvider
> -------------------------------------------------------------
>
> 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
>
> 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)