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

[jira] [Updated] (FLEX-33946) There is an issue with the spark data grid when used with requestedMaxRowCount set to a value.

     [ 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)