.. highlightlang:: us .. index:: GridGetSelectedCols .. _gridgetselectedcols: GridGetSelectedCols =================== .. us.tag GridGetSelectedCols NOTREADYENGLISH New330 GridSel :ref:`GridGetSelectedCols` retrieves the starting and ending columns of the current selection in the data browser dialog box. .. function:: rvSelCols = GridGetSelectedCols() .. us.return **Return Value** *rvSelCols* is a vector with two elements: [FirstCol, LastCol]. Column numbering starts with 1. In case of an error the function returns -1. .. 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-1669938`