[
https://issues.apache.org/jira/browse/FLEX-33866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487451#comment-14487451
]
Leonardo Padua edited comment on FLEX-33866 at 4/9/15 2:54 PM:
---------------------------------------------------------------
Hi, I bumped into the same limitation when trying to add a Drag and Drop from a
list to a datagrid.
In my case, I wanted to know the drop Index because I'm linking objects.
In order to solve this, I found the code used to create and position the Hover
Indicator and then re-used it for the DragEvent. It works OK.
I'm sure there must be a cleaner implementation, but if not, at least its a
workaround.
I've attached a AS3 file with the Extended Datagrid component that I'm working
on.
*PS. sorry, but the Attachement name does not correspond to the Class name,
which is ExtendedDataGrid.
was (Author: leopadua):
Hi, I bumped into the same limitation when trying to add a Drag and Drop from a
list to a datagrid.
In my case, I wanted to know the drop Index because I'm linking objects.
In order to solve this, I found the code used to create and position the Hover
Indicator and then re-used it for the DragEvent. It works OK.
I'm sure there must be a cleaner implementation, but if not, at least its a
workaround.
I've attached a AS3 file with the Extended Datagrid component that I'm working
on.
> spark DataGrid drag move not supported
> ---------------------------------------
>
> Key: FLEX-33866
> URL: https://issues.apache.org/jira/browse/FLEX-33866
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DataGrid
> Affects Versions: Apache Flex 4.11.0
> Environment: AIR
> Reporter: Mario Specht
> Labels: easytest
> Attachments: TestDDDataGrid.fxp, TestDDDataGrid2.fxp,
> advancedDatagrid.as
>
>
> When draggin and and dropping items in a spark DataGrid in order to sort
> them, no dropindicator is shown and it is not possible to drop the items on a
> specified position. They alsways seem to be dropped before or after the
> selected item.
> See attached example TestDDDataGrid
> See example TestDDDataGrid2 for comparison. In TestDDDataGrid a mx:DataGrid
> is used. A dropindicator is shown and reordering is possible without any
> issues.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)