You won't get this option with comboBox or datagrid. You will have to remove items from the relevant dataProvider. Suppose the dataProvider to comboBox is an arrayCollection then you can do the following:
(cb.dataprovider as ArrayCollection).removeItemAt(4); HTH, -Ravi On Jul 3, 11:16 am, Krishna <[email protected]> wrote: > thanks Ravi. > > But i could not find remove at option for combo box or datagrid in > flex 3. There is onky selecteditemindex whih is a read only property. > Can you please quote and example. > > Krishna > > On Jul 3, 6:21 am, Ravi Mishra <[email protected]> wrote: > > > Yes you can remove the items from specific location using removeItemAt > > (); method in collection data types. > > > HTH, > > > -Ravi > > > On Jul 2, 8:28 pm, Krishna <[email protected]> wrote: > > > > Hello, > > > > I have a list of id's and when I send the id's to the server, I get > > > results in the form of JSON String. I populate the results into > > > datagrid and a combo box. Now I want to remove specific rows in combo > > > box . > > > > Is it possible to remove specific elements from a combo box in Flex > > > 3.0? > > > > thanks > > > Krishna --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

