|
This sounds like it may have to do with
the Flash Players difficulty differentiating between an array with a single
element and and object. Look up the utility function toArray(). Sorry I don’t
even recall the 2.0 package it is in offhand. I’m sure you will find a
more detailed response if you search the archive. From: I have 2
datagrids with identical dataFields. The dropTarget is databound to a third
dataGrid. The only thing I did to enable drag and drop is to set the
dropEnabled and dragEnabled properties to true - no code so far. Dragging
and dropping works like a charm, almost... When the target grid (which is
databound) has 2 or more rows (before dropping row 3), the data binding seems
to work and be remembered, i.e. when you change the selectedIndex of the
databound source and come back later, the newly dropped row is still there.
If you do the same with the dropTarget grid having one or zero rows
(before dropping a dragged row), the new row drops fine and gets displayed
in the grid, but the databinding fails. In other words, if you do the same as
described before, change the data source selectedIndex, and come back,
the dragged row has been "forgotten". As for
the databinding assume XML read from HTTPService (default result format): <groups> I know
this weird, but I promise, I am not making this up ;-) Any ideas what the
reason(s) could be? Thanks a bunch... -Iko -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] A bug? Drag n Drop between 2 DataGrids, ta... Tracy Spratt
- RE: [flexcoders] A bug? Drag n Drop between 2 DataGrid... Iko Knyphausen

