Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6092381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:26:09+00:00 2026-05-23T12:26:09+00:00

Im working with a flex application that pulls data from a java class file

  • 0

Im working with a flex application that pulls data from a java class file using message handler event. The received message string is added to ArrayCollection. The string consists of codeID and other values related to codeID. Had displayed the detail in a datagrid. The codeID is randomly generated and is pushed to flex for every second. Now, the problem is, I needa update the datagrid cell values, for instance, if i have pushed codeID’s of (0001,0007,0005,0003) to the front end, that displays the corresponding values of each codeID in the datagrid, second instance of (0001) should update records in the existing row of (0001). I tried to check the existence of codeID in ArrayCollection using search algorithm, but dont know how to proceed further.

Any help is most apprecited. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:26:10+00:00Added an answer on May 23, 2026 at 12:26 pm

    Sort the ArrayCollection in ascending order and refresh the same.

    var dataSort:Sort = new Sort();
    
    dataSort.fields =  [new SortField("code", true, false), new SortField("time", true, false)];
    
    
    Collection.sort = dataSort;
    
    Collection.refresh();
    

    Check for the existence of codeID using Binary search and retrieve the index. Using,

    collection.removeItemAt(index); 
    

    will remove the previous record of codeID(0001) and inserts the current record of the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project where I need to make a Flex application that
I'm working on dashboard editor in flex, an application that allow users to drag
I'm working on a little project in Flex that's an application to upload images
I am looking into internationalizing a Flex application I am working on and I
I'm working on a simple flex / AIR application with just a mx.TextInput control
I'm currently working on an application with a frontend written in Adobe Flex 3.
My company has been working on a Flex dashboard that displays realtime financial information.
We're working on a rich client (written in Flex) that is connected to a
I am writing a flex application that involves modifying a textarea very frequently. I
I have a Flex application embedded in a Flash application, which was working fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.