Hello all,

If you cut & paste the following:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
    creationComplete="creationCompleteHandler()">
    <mx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
           
            [Bindable]
            private var ac:ArrayCollection;
           
            public function creationCompleteHandler():void
            {           
                ac = new ArrayCollection([    {label:"First", rank:1},
                                            {label:"Second", rank:2},
                                            {label:"Third", rank:3}]);

                dg.dataProvider = ac;
            }

        ]]>
    </mx:Script>
    <mx:DataGrid id="dg"
        dragEnabled="true" dropEnabled="true"
        dragMoveEnabled="true">
    </mx:DataGrid>   
</mx:Application>




...dragging and dropping to a different order works great. As soon as 
you click on the header, a column sort is applied and then it takes over 
as precedence over any changes the user wants to perform manually by 
doing drag and drop.

Why does drag and drop stop working? What gives?

Thx,

-mL


Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.

Reply via email to