2 Replies Latest reply on Aug 1, 2008 9:39 AM by Newsgroup_User

    How do I get DataGrid row count?

    justneed2know
      How do I get the total number of rows (not displayable rows) in datagrid (for example dgItem.rows.count or similar)? Also, I have an event handler that processes a .net datatable (from a webservice) and uses it to populate the datagrid. How can I reference my event object to get the total rows returned as well?

      private function GetItemsResult(event:ResultEvent):void{

      dgItem.dataProvider = event.result.Tables.Item.Rows;

      }