Skip navigation
gohan222
Currently Being Moderated

AdvancedDataGrid Drag Drop Error

Jan 24, 2008 3:41 PM

I'm running into an issue where AdvancedDataGrid is not accepting drag and drop from controls that do not implement dataprovider in HierarchicalData format. If i change the ADG's dataprovider to a flat arraycollection then it will be able to receive drag drop from other controls. I've tried overridding the drag events to accept the drops but that still does not work. What key info am i missing to get a HierarchicalData format ADG to accept drag drop items from other controls?
 
Replies
  • Currently Being Moderated
    Apr 14, 2008 10:56 AM   in reply to gohan222
    Gohan,
    Did you happen to find an answer to this?
    Jason
     
    |
    Mark as:
  • Currently Being Moderated
    Apr 14, 2008 1:17 PM   in reply to gohan222
    thanks. do you have an example you could share?
     
    |
    Mark as:
  • Currently Being Moderated
    May 21, 2013 8:51 AM   in reply to JDuley

    5 years late, but I just ran across the same issue and this is what worked for me:

     

    protected function dragOverHandler(event:DragEvent):void {

        event.preventDefault();

        DragManager.showFeedback(DragManager.COPY);

        AdvancedDataGrid(event.currentTarget).showDropFeedback(event);

    }

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points