You should be able to write an E4X filter like
.(lastname.charAt(0) == "S")
- Gordon
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Alex Harui
Sent: Wednesday, December 12, 2007 10:19 PM
To: [email protected]
Subject: RE: [flexcoders] Filtering XMLList (ala search)
Did you try filtering an XMLListCollection?
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of donvoltz
Sent: Wednesday, December 12, 2007 6:02 PM
To: [email protected]
Subject: [flexcoders] Filtering XMLList (ala search)
Is it possible to have a search field whose text property is bound to
a function that is called when the field is changed. I would like to
use what ever is typed into the search field to filter an XMLList that
is bound to a datagrid. I would like this to filter dynamically with
each letter typed. I have been able to use e4x filtering of a list for
a given tag, however, this is only for a full piece of data such as
lastname == 'smith'. what I would like to do is when an S is typed,
all of the S lastnames are filtered.
Thanks for any help in advance
Sincerely,
Don