.. highlightlang:: us .. index:: GridGetRecordCount .. _gridgetrecordcount: GridGetRecordCount ================== .. us.tag GridGetRecordCount NOTREADYENGLISH New330 Grid :ref:`GridGetRecordCount` returns the number of records (rows) or in case of an error -1. .. function:: nRecords = GridGetRecordCount() .. us.return **Return Value** *nRecords* is the number of records displayed in the data grid. The number of records is identical to the number of data points of the displayed channels. .. us.comment **Comment** All functions starting with ``Grid`` access the data browser. If the browser dialog isn't open, these functions return an invalid value. .. seealso:: :ref:`overview-netcdf-browser`, :ref:`overview-netcdf-files` :sub:`id-2099706`