0 Replies Latest reply on Sep 6, 2007 8:56 AM by isleta13

    populate a datagrid from the id of a parent datagrid

      Hello, I'm trying to populate a datagrid from the id of a parent datagrid. Here is my code. Everything works, but when I use the dataProvider dg2data within my second datagrid it comes back empty. I know there is data there, but not sure if I'm missing something.

      public function onSelectFirstGrid(event:Event):void

      myRequest.addEventListener(Event.COMPLETE, onResult)

      private function onResult(e:ResultEvent):void

      dg2data = e.result as XMLListCollection;

      private function onFault(e:FaultEvent):void

      Alert.show(e.fault.message, "Could not load");

      public var dg2data: XMLListCollection;