.. highlightlang:: us .. index:: GridGetColCount .. _gridgetcolcount: GridGetColCount =============== .. us.tag GridGetColCount NOTREADYENGLISH New330 Grid :ref:`GridGetColCount` returns the number of columns or in case of an error -1. .. function:: nCols = GridGetColCount() .. us.return **Return Value** *nCols* is the number of columns displayed in the data grid. .. 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-1047171`