[flexcoders] List item drag to datagrid

2012-05-29 Thread isa_loyer
Hi,

I work with AIR.

I have to window, one with list ( a glossary) and another with datagrid and 
editable cells.
The goal is to drag item on list and drop it on cursor position on itemEditor 
(datagrid).
I don't know how to do that.

Please, help me.
Thanks



Re: [flexcoders] List item drag to datagrid

2012-05-29 Thread Alex Harui
That sounds hard.  The DG’s editor is designed to close if you click somewhere 
else.  Keeping the editor open can cause other problems.

Why do you need two windows?  Can you make a custom editor that allows you to 
pick words from a list that is a child of the editor?  That should be possible.


On 5/29/12 10:21 AM, isa_loyer isa_lo...@yahoo.fr wrote:






Hi,

I work with AIR.

I have to window, one with list ( a glossary) and another with datagrid and 
editable cells.
The goal is to drag item on list and drop it on cursor position on itemEditor 
(datagrid).
I don't know how to do that.

Please, help me.
Thanks






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] List item drag to datagrid

2012-05-29 Thread Isabelle Loyer Perso













Re: [flexcoders] List item drag to datagrid

2012-05-29 Thread Alex Harui
I think that will still be hard.  You will probably lose the TextArea cursor 
when you activate the glossary window.  It will be easier to code if the list 
is in the same AIR window (it can float over the DG or TA in that window).

-Alex


On 5/29/12 1:31 PM, Isabelle Loyer Perso isa_lo...@yahoo.fr wrote:






   thanks for answer.
 Perphars another approach:
 Instead of, drag inside datagrid, I could drag and drop inside a textarea.
 After by clicking on a button, I could paste textearea contents to datagrid 
selected item.

 Is this solution better if yes couldd you help me to do that?

 Thanks

 Le 29/05/12 22:19, Alex Harui a écrit :



 That sounds hard.  The DG’s editor is designed to close if you click somewhere 
else.  Keeping the editor open can cause other problems.

 Why do you need two windows?  Can you make a custom editor that allows you to 
pick words from a list that is a child of the editor?  That should be possible.


 On 5/29/12 10:21 AM, isa_loyer isa_lo...@yahoo.fr wrote:








 Hi,

 I work with AIR.

 I have to window, one with list ( a glossary) and another with datagrid and 
editable cells.
 The goal is to drag item on list and drop it on cursor position on itemEditor 
(datagrid).
 I don't know how to do that.

 Please, help me.
 Thanks







 --
 Alex Harui
 Flex SDK Team
 Adobe Systems, Inc.
 http://blogs.adobe.com/aharui








--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui