Skip navigation
blossoms_bubbles
Currently Being Moderated

Get Visible Rows' data from mx:list

Apr 9, 2012 6:06 AM

Hello,

 

I have mx:List in flex 3 (sdk 3.5) which shows summary of data. I want to pre fetch details of these data but I dont to load unnecessarily large chunk of detailed data. So I decided to get detailed data of only those rows that are currently visible in list. Say if list shows 15 rows at a time then I want to prefetch detailed data for 15 (currently visible) + next 15 rows + previous 15 rows = 45 rows.

But problem is that on scroll event of mx:List, I get only delta and position. So I cant determine which page is now visible and whether I need to get data for it not.

 

Kindly give suggestions for this.

 

Thanks in advance

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points