I need to be able to determine the subset of rows that a DataGrid is displaying. For example, say I have a DataGrid that is showing 20 rows (i.e. rowCount=20). My ArrayCollection 'data' has 500 items in it. I need to know that items data through data are being shown. So at a minimum I need to know the index of the first item (or last) being displayed and I can do the math using the rowCount. How can I do that? I've looked through the DataGrid properties, but am not seeing anything I can use.
Found I can use the verticalScrollPosition to get the index of the item in the first row.