You can do either what Graham said or what Douglas said to get the item
in the Combobox. 

>From there you basically have the same choice again, are you sending a
new call out to the server to return a filtered record set or do you
want to filter a local recordset?

If the ComboBox triggers retrieval of a new filtered recordset, then you
don't need to bother with the stuff in the link you posted. 

If you want to filter the full recordset locally then yes the best way
to do it is with an ICollectionView and a filterFunction. 

The size of the recordset and how you are using it elsewhere will
determine the best approach.

-----Original Message-----
From: Phill B [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 22, 2007 9:35 AM
To: Flex
Subject: one last combobox question

Thanks to everyones help, I have zipped right along with my first Flex
app. Now I'm tying to do one last thing to my comboBoxes and I'm not
sure how to go about it.

I have a remoteObject call that returns all the states in the database
that is used as the combobox dataprovider. I need to add the label All
States with a value of "all" as the first value to select.

I found this link
http://www.houseoffusion.com/tiny.cfm/155
But I'm not sure if this is taking me in the right direction. Any
thoughts?

Thanks

-- 
Phil



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4741
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to