0 Replies Latest reply on May 28, 2013 10:14 PM by info20111

    problem in filling datagrid with a java service


      Hi i have a java service that returns an arrayList of TypeTicketVO ,in the side   of java when i tested my service it returns the correct result in the console but in the side of flex data grid is always empty and not filled with data (in fact this code recuperate 2 data field filled by the user and call the java service when the buttun is clicked

      this is my mxml :


                                    var startDate:Date;


                                    var endDate:Date;


                                    private var  FinalResult:ArrayCollection = new ArrayCollection();

      public function getTicketByStatus(evt:ResultEvent):void


      FinalResult= evt.result as ArrayCollection;





      protected function buttnSta_clickHandler(event:MouseEvent):void





      CountTicketsByStatusResult.token = ticketServiceImpl.CountTicketsByStatus(startDate,endDate);


      <mx:DataGrid id="dg" x="306" y="91" width="354" height="208" dataProvider="{FinalResult}">


      help please