6 Replies Latest reply on Jul 6, 2007 8:14 AM by Newsgroup_User

    refresh parent window

    Level 7
      Hi All,
      In a parent window with a button I'm getting a child window, add a product.
      When I close the child window, how can I refresh the datagrid on the parent
      window to show the new product?
      Tks

      JFB

      private function showPopUp(title:String):void{
      win=DataCompScreen(PopUpManager.createPopUp(this,DataCompScreen,true));
      win.title=title;
      }

      <?xml version="1.0" encoding="utf-8"?>
      <mx:TitleWindow xmlns:mx=" http://www.adobe.com/2006/mxml"
      creationComplete="init()"
      layout="vertical"
      close="PopUpManager.removePopUp(this)"
      showCloseButton="true" height="234" width="358">