Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    May 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    problem with datagrid + java service

    Hi
    I have a problem with datagrid in flex,i filled my datagrid with list from java but it returns me values that they have no sens i dont'know how it recuperate them
    Code:
    		private function getTicketByStatus(evt:ResultEvent):void
    			{
    				AC=evt.result as ArrayCollection;
    				for (var i:int=0 ; i < AC.length ; i++) {
    					Alert.show("element"+AC.getItemAt(i));
    				}
    				datagrid.dataProvider=AC;
    
    			}
    	
    			
    
    		 	protected function button2_clickHandler(event:MouseEvent):void
    			{
    				startDate=StartDateField.selectedDate;
    				endDate=EndDateField.selectedDate;
    				CountTicketsByStatusResult.addEventListener(ResultEvent.RESULT,getTicketByStatus);
    				CountTicketsByStatusResult.token = ticketServiceImpl.CountTicketsByStatus(startDate,endDate);
    			}
    Last edited by Inigoesdr; 06-08-2013 at 06:20 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •