during the change event , clear all the field by taking id or u can use bidnable vairable in one function, make them empty, when swithcing b/w the stacks
easy to do On Wed, Feb 10, 2010 at 8:00 PM, pradeepflex <[email protected]>wrote: > Hi, > > I have a mxml file i m using viewstack in that 2 components each > component have datagrid's > like this .. > > <mx:ViewStack id="apExistingPositions" borderStyle="none" width="100%" > height="100%" change="stackRefresh(event)"> > <apExistingPosition:ApMyWorkforce > click="onMyworkforce()" > width="100%" height="100%" id="apWorkForce"/> > <apExistingPosition:ApSearchAllPositions > click="onSearchPositions()" id="apSearchAll" width="100%" > height="100%"/> > </mx:ViewStack> > > the user goes in to the second component first component should be > refresh with selectable radio buttons also vice versa. > Currently when I reload the file previous user inputs are still in > memory. > please tell me how i reload a mxml file with fresh child components > data > > Thanks, > Pradeep > > -- > 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.

