try
public function vndListHandler(event:
ResultEvent):void
{
vendors.removeAll();
vendors = new ArrayCollection(event.result as Array);
vendors.refresh();
}
Akshar Kaul
On Fri, Mar 26, 2010 at 20:16, genius818 <[email protected]> wrote:
> So let me know if I have this correct because I believe I am already
> doing what you are suggesting, but my combobox doesn't display the new
> value that has been inserted in the database and returned in the
> array. When I debug the code I can see that the new value is in the
> array, but combo in the app doesn't show the new list of values in the
> array. How do I refresh the combo to show the newly added list.
>
> [Bindable]
> public var vendors:ArrayCollection = new
> ArrayCollection();
>
> public function vndListHandler(event:ResultEvent):void
> {
> vendors.removeAll();
> vendors = new ArrayCollection(event.result as Array);
> }
>
> On Mar 26, 12:50 am, Dinesh Reddy Rekula <[email protected]> wrote:
> > Hi
> >
> > Enable [Bindable] property on the array collection.
> >
> > For Example,
> > [Bindable]
> > private var arr:ArrayCollection = new ArrayCollection();
> >
> > Thanks,
> > Dinesh
> >
> >
> >
> > On Fri, Mar 26, 2010 at 12:19 AM, genius818 <[email protected]>
> wrote:
> > > I have an array collection that I am refreshing using an Remote
> > > Object. The array collection is binded to a combobox, but my probelm
> > > is that when I refresh the array it doesn't refresh options for the
> > > combo. Any suggestions?
> >
> > > --
> > > 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]<flex_india%[email protected]>
> <flex_india%2bunsubscr...@googlegrouÂps.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/flex_india?hl=en.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> 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]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
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.