Okay, I was thinking along those lines at one point but thought there might be a different -- read easier way, because of my limited knowledge. ;-)
Awesome, thank you. I appreciate it. -----Original Message----- From: Kyle McKnight [mailto:kamck...@gmail.com] Sent: Saturday, August 26, 2017 5:40 PM To: Flex Users Group Subject: Re: AIR There are many ways you could do it. Try dispatching a custom event, something like "itemCategoriesRecieved," from the data manager when the results are returned. In your class that contains the data grid, listen for that event on your data manager and set the data provider of the grid in the event handler. Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Sat, Aug 26, 2017 at 6:34 PM, Trevor Holman <trev...@mchsi.com> wrote: > This is what I'm trying to do but I'm not sure how to do this so that > the variable is set before I set the dataProvider... > > -----Original Message----- > From: Kyle McKnight [mailto:kamck...@gmail.com] > Sent: Saturday, August 26, 2017 11:38 AM > To: Flex Users Group > Subject: Re: AIR > > Or you can also just make sure to set it as the data provider after > the results are received rather than before. > > Kyle > > > Kyle McKnight > Senior UI Engineer - Accesso > 602.515.1444 (M) > > On Sat, Aug 26, 2017 at 12:35 PM, Kyle McKnight <kamck...@gmail.com> > wrote: > > > Don't set _myResults to a brand new ArrayCollection. > > > > 1. Instead, insure _myResults exists (maybe create an empty one when > > you instantiate your DataManager). > > 2. Set _myResults as the data provider on your DataGrid. > > 3. When you get your results, use the addItem method on _myResults > > to add the items. > > > > Kyle > > > > > > > > > > Kyle McKnight > > Senior UI Engineer - Accesso > > 602.515.1444 <(602)%20515-1444> (M) > > > > 2017-08-26 12:23 GMT-04:00 <vinc...@after24.net>: > > > >> Bonjour, > >> > >> En congés jusqu'au 4 septembre, je prendrais connaissance de votre > >> message à mon retour. > >> > >> Cordialement, > >> > >> Vincent/AFTER24 > >> > >> > >> > >> > > > >