You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Micha Pooh (JIRA)" <ji...@apache.org> on 2013/10/23 11:37:42 UTC
[jira] [Updated] (FLEX-33840) Spark DataGrid calculateDropLocation
returns 1 with an empty dataProvider
[ https://issues.apache.org/jira/browse/FLEX-33840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Micha Pooh updated FLEX-33840:
------------------------------
Summary: Spark DataGrid calculateDropLocation returns 1 with an empty dataProvider (was: Spark DataGrid calculateDropLocation returns 1 with an emtpty dataProvider)
> Spark DataGrid calculateDropLocation returns 1 with an empty dataProvider
> -------------------------------------------------------------------------
>
> Key: FLEX-33840
> URL: https://issues.apache.org/jira/browse/FLEX-33840
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DataGrid
> Affects Versions: Apache Flex 4.10.0
> Reporter: Micha Pooh
>
> Try to drop an item to a spark:DataGrid witch has no data (empty dataProvider). The application throws an error (out of range 1)
> This happens because the calculation for the dropIndex is false
> (returns 1 - should be 0)
> It seems that this happens because the Grid Skin returns also 1 for his numElements property .
> (see grid.layout.calculateDropLocation(event) in the DataGrids calculateDropLocation)
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)