Hi jayesh: My dataprovider is [Bindable], this dataPorvider it's generate from xml to arrayCollection, but doesn't work reload my grid. My grid is a advanced datagrid matter that? I have only a way for update my advancedDatagrid this is reload all my application, but i dont want this.
this is my model app: http://www.kirbits.cl/bin-debug/home.html Then i add a clothes(Ropa), and when i want see it in my clothes (Mi Ropa), dont refresh advanced datagrid. way for add item: Mi Closet(top) / Agregar way for see item: Mi Ropa thanks for reply me On 6 feb, 01:59, jayesh sharma <[email protected]> wrote: > Hi Shorty, > > Just make the grid's dataprovider [Bindable]. It will automatically get > updated as soon as any record will be added or removed and you will not be > required to refresh the grid as well. > > Hope this will help you little. > > Cheers, > Jayesh Sharma > > On 2/5/10, shorty <[email protected]> wrote: > > > > > > > Hi guys, im new in this group, im from chile, then i speak spanish > > native, my english is not good. > > > Well, my question: i have a viewStack and with two contents, one for > > add items and other for show items in a datagrid, then when i add a > > item and i change contents for see new items, my datagrid it's same > > don't refresh or reload data, then i read that i can make a function > > for each time that i change of container, this function reload data. > > but doesn't work. > > > Below i let u my code from my viewstack: > > > <mx:ViewStack creationPolicy="all" selectedIndex="0" > > change="stackHandle(event)" x="21.5" y="10" id="viewstack1" > > width="716.5" height="518"> > > <com:verPrendas id="verPrendas" label="Mi Ropa" > > height="518" width="714"/> > > > <com:crearPrendas id="agregarPrenda" > > label="Agregar" > > height="518" width="714"/> > > > </mx:ViewStack> > > > and here my function that assume it will reload my data. > > > private function stackHandle(event:IndexChangedEvent):void{ > > > var obj:Object = viewstack1.getChildAt(event.newIndex); > > obj.reload(); > > } > > > I need u help, other function or any other idea. i saw a theme similar > > in this group, but i can't understand. > > > Sorry for my english > > > greetings > > > i will be waiting > > > -- > > 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%2bunsubscr...@googlegrou > > ps.com> > > . > > 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.

