code: public String[] getRow(String searchText) {
          String[] rowElements = null;
          GridRow row = new GridRow(this, searchText, getSearchColumnId(), SearchType.CONTAINS);
          String text = row.getText();
          if (text != null) {
              rowElements = text.split("\n");
          }
          return rowElements;
      }
docs: returns all text elements from a grid
  
  @param searchText searchText
  @return all text elements from a grid