verticalScrollPosition is the index of the first visible row.  That,
along with rowCount, and the DP.length should let you build your logic.

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Gold
Sent: Tuesday, April 22, 2008 11:43 AM
To: [email protected]
Subject: [flexcoders] Determining visible and total rows in a List

 

If I want to add paging information to a list, ie there are 10 items in
view and 40 total so you are on page 1/4, what is the best way to get
that data. Obviously length of the dataProvider will give me total
items, but how can I see how many are currently visible? Looks like
there is a protected property "visibleData" in List, so if I subclass I
could use that. Is that the best way to do it?

 

Reply via email to