0 Replies Latest reply on Feb 4, 2007 9:17 AM by africanshox

    Refreshing Datagrid from pop up window

    africanshox
      I have a datagrid that retrieves user detials from a database using AMFPHP 1.9. Within the same application, i also have an option for adding new users to the database via a custom pop window form. How can i get the datagrid to automatically update once i have sent the new users details to the database. I'm not using FDS because im not too sure whether its needed for such a task.


      this is the code that sends the user details once you click "save"

      private function addStudent(details:Array):void
      {

      myservice.getOperation('addStudent').send(details);
      PopUpManager.removePopUp(this);
      }

      I would i deally like to also make a call to the main application in order to refresh the datagrid.


      So in short... how can i update the datagrid in my main application automatically from the pop up window? Text