Many thanks Alex, in fact my original thoughts worked quite well (plenty of 
hassle due to not knowing drag and drop at all, or data binding quite as well 
as I'd thought though! grrrr ), but I had considered that way of doing things.

If anyone finds this on a future search, then making a custom renderer (for the 
column in which you want to drag something into an existing cell) and making 
that a drop target does work fine (as I'd expected, just didn't have a clue as 
to how to actually do it).

Ta for your thoughts, much appreciated.


-----Original Message-----
From: [email protected] on behalf of Alex Harui
Sent: Thu 14/02/2008 18:57
To: [email protected]
Subject: RE: [flexcoders] Drag and drop into a datagrid Cell (rather than the 
default, row) ?
 
Enable drop on a row might work.  I might just try handling the drop and
the showDropFeedback differently.  Instead of the single line, you
should be able to highlight a cell and then instead of an insert to the
collection, change some data in a cell.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jim Hayes
Sent: Thursday, February 14, 2008 6:33 AM
To: [email protected]
Subject: [flexcoders] Drag and drop into a datagrid Cell (rather than
the default, row) ?

 

Sorry to ask a basic question, but the docs, google, and searchcoders
don't seem to be getting me any results so far (or my search terms are
just rubbish)

I'd like to be able to drag an item to a *cell* in a datagrid, the
default action would seem to be that the drop adds a new row, whereas I
desire the information to go into an existing cell.

 

I have a feeling that I need to make a custom renderer for that column,
and enable the drag and drop on that rather than the datagrid.

 

Could anyone confirm/deny, offer basic guidance/direction (I'll work out
the details) or even better know of an online example?

 

Many thanks in advance,

 

Jim.


______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in
England and Wales with registration No. 02622298 and registered office:
4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W
5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received it
in error, please contact the sender immediately by return e-mail or by
telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not
disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email
Security System.
______________________________________________________________________

 



______________________________________________________________________
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
______________________________________________________________________

<<winmail.dat>>

Reply via email to