2 Replies Latest reply on Oct 6, 2009 1:01 PM by lee704

    How to get the number of records in a DataGrid?

    lee704 Level 1

      I was hoping this would be easy but it has not turned out so.  I need two things:


      1 - The total number of records returned in an ArrayCollection


      2 - The total number of rows in a DataGrid


      Explanation:  I have an app that gets data using CF and returns that data to a DataGrid.  I need to get the total number of records returned.  I then will filter or query that data and populate a second DataGrid with a subset of records.  I then need to get the records count of the second DataGrid.


      Can anyone provide a good example of how to do these two things?