HI,
  The code as follow:
private function handlerDragDrop(event:DragEvent):void{
             var dropIndex:int = myADG.calculateDropIndex(event);
             var visiableIndex:int = myADG.verticalScrollPosition;
             var rowColumn:Number = myADG.rowCount;

             if(visiableIndex+dropIndex>=visiableIndex-1){
              var dis:Number = visiableIndex+dropIndex-visiableIndex+1;
              myADG.verticalScrollPosition = dis;
             }

            }
2010/3/18 <[email protected]>

> Can you share this bit of code to review?
> Then we can visualize it and help you.
>
> Edwin
>
>
> On Tue, Mar 16, 2010 at 9:59 AM, NightAvatar <[email protected]>wrote:
>
>> Does anybody know how to allow dragging a row to below the scroll
>> (past the visible area) in an AdvancedDataGrid?
>>
>> If my table is 50 rows, my AdvancedDataGrid is set to a height which
>> shows 20 rows (user must scroll down to see the rest), and I want to
>> drag row 1 to row 30 or 40... How is this possible?
>>
>> Currently (with default settings) I can only drag-and-drop to a row
>> that is visible on the page, not to a spot farther down, below the
>> scroll.
>>
>> Thanks for any help! :)
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<flex_india%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>



-- 
有你,幸福的开始!

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to