1 Reply Latest reply on May 20, 2010 12:02 PM by Di1bert

    Determine subset of dataprovider being shown in a DataGrid


      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[125] through data[144] 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.