I have tried both with array collection AND an xmllist... either way, it
seems that the changes are only showing up the next time somebody touches
it. :(


On 1/22/07, James T. Riffe <[EMAIL PROTECTED]> wrote:

   Are you using a ArrayCollection as a dataprovider?



James



*From:* [email protected] [mailto:[EMAIL PROTECTED] *On
Behalf Of *darvon4u
*Sent:* Monday, February 05, 2007 9:43 AM
*To:* [email protected]
*Subject:* [flexcoders] drag/drop question



We're trying to re-rank the collection for datagrid after the user
re-orders the items with drag/drop.

here is an example. before:

1 a
2 b
3 c

now, supposedly we drag item 1 to the last place. we want to rerank it
so the first column still shows the order (line #), while the
collection has been changed.

after:

1 b
2 c
3 a

we have tried everything to get it to work. it just doesn't sort
properly. what i need to do is renumber AFTER EVERYTHING (all the
drag/drop events have been triggered). tried to do this in
dragcomplete or dragdrop handlers, to no avail.

Does anybody have any ideas? spent like 3 days on this, any help would
be truly appreciated!

Thanks,
-A

Reply via email to