[ 
https://issues.apache.org/jira/browse/FLEX-33946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Santosh Radhakrishna updated FLEX-33946:
----------------------------------------

    Attachment: DataGridTest.mxml

Environment:
Flex 4.10 
Air 3.8 



> There is an issue with the spark data grid when used with  
> requestedMaxRowCount set to a value.
> -----------------------------------------------------------------------------------------------
>
>                 Key: FLEX-33946
>                 URL: https://issues.apache.org/jira/browse/FLEX-33946
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid
>    Affects Versions: Apache Flex 4.10.0
>            Reporter: Santosh Radhakrishna
>              Labels: datagrid, delete, requestedMaxRowCount, row, spark
>         Attachments: DataGridTest.mxml
>
>
> There is an issue with the spark data grid when used with   
> requestedMaxRowCount set to a value. 
> Issue:
> If my requested max row count is 4 and I have 5 elements in the grid.
> I select one of the rows and remove it from the grid .
> By accessing the data provider.
> This causes the grid to crash ..
> Analysis :
> This happens only when the number of elements the grid are n+1 when 
> requestedMaxRowCount = "n"
> Work around :
> Use the height property of the grid instead of requestedMaxRowCount.
> Give it a set height .



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

Reply via email to