1 Reply Latest reply on Apr 9, 2012 7:26 AM by Flex harUI

    Get Visible Rows' data from mx:list

    blossoms_bubbles

      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