|
Oh ya I meant to say getItemAt().
Hmm, no index eh, that means you'd have to iterate through
the collection to find the one u want, not the most effiecient
way.
But if you are displaying the collection in a DataGrid,
then u could get the index by doing dg.selectedIndex, I think that would
work.
Dimitrios
Gianninas
RIA
Developer
Optimal
Payments Inc.
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Monday, August 28, 2006 2:31 AM To: [email protected] Subject: RE: [flexcoders] FDMS: check, if an item exists on the client?
Hi
Jimmy,
I
don't think there's a getItem() method on ArrayCollection. There's only
getItemAt() but that's useless as I don't have the index of the item.
Actually, all I know about the item is the unique ID (i.e. the PK from
the DB table) so what I need is something like
myArrayCollection.
where
uid is an Object containing the unique ID, e.g.
var uid:Object = {organization_
Makes
sense?
So far
I have found no way to query a
DataStore/Arraycoll
Dirk.
-- 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
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] FDMS: check, if an item exists on the... Dimitrios Gianninas
- RE: [flexcoders] FDMS: check, if an item exists o... Dimitrios Gianninas

