[
https://issues.apache.org/jira/browse/FLEX-33899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822424#comment-13822424
]
tom chiverton commented on FLEX-33899:
--------------------------------------
Doing
dp.removeItemAt(dp.length-1);
in the click handler to update the AC directly and let the binding update the
DG also fails, as does creating the AC when it is declared.
> 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)