.. highlightlang:: us .. index:: GridGetSelectedRows .. _gridgetselectedrows: GridGetSelectedRows =================== .. us.tag GridGetSelectedRows NOTREADYENGLISH New330 GridSel :ref:`GridGetSelectedRows` retrieves the starting and ending rows of the current selection in the data browser dialog box. .. function:: rvSelRows = GridGetSelectedRows() .. us.return **Return Value** *rvSelRows* is a vector with two elements: [FirstRow, LastRow]. 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-758725`