Share this page

com.hp.lft.sdk.winforms

## Interface DataGridView

- All Superinterfaces:
    CustomGrid

      public interface DataGridView
      extends CustomGrid

  A .NET Windows Forms data grid view object.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `void` | `activateCell(int row, java.lang.String columnHeader)` Double-clicks the specified cell in this grid.
    `void` | `activateColumn(int column)` Double-clicks the specified column header in this grid.
    `void` | `activateColumn(java.lang.String columnHeader)` Double-clicks the specified column header in this grid.
    `TableCell` | `getCell(int row, java.lang.String columnHeader)` Returns a cell in the grid.
    `java.util.List<TableRow<TableCell>>` | `getRows()` Returns the collection of rows.
    `void` | `makeCellVisible(int row, java.lang.String columnHeader)` Scrolls the specified cell into view.
    `void` | `selectCell(int row, java.lang.String columnHeader)` Selects (clicks) the specified cell in this grid.
    `void` | `selectColumn(int column)` Selects (clicks) the specified column header in this grid.
    `void` | `selectColumn(java.lang.String columnHeader)` Clicks the specified column header in this grid.

    - ### Methods inherited from interface com.hp.lft.sdk.winforms.CustomGrid

      `getTableTestObject`

- - ### Method Detail

    - #### activateCell

          void activateCell(int row,
                            java.lang.String columnHeader)
                     throws GeneralLeanFtException

      Double-clicks the specified cell in this grid.
      Parameters:
        `row` - 0-based row number.
        `columnHeader` - the column caption.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### makeCellVisible

          void makeCellVisible(int row,
                               java.lang.String columnHeader)
                        throws GeneralLeanFtException

      Scrolls the specified cell into view.
      Parameters:
        `row` - 0-based row number.
        `columnHeader` - the column caption.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectCell

          void selectCell(int row,
                          java.lang.String columnHeader)
                   throws GeneralLeanFtException

      Selects (clicks) the specified cell in this grid.
      Parameters:
        `row` - 0-based row number.
        `columnHeader` - the column caption.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### activateColumn

          void activateColumn(int column)
                       throws GeneralLeanFtException

      Double-clicks the specified column header in this grid.
      Parameters:
        `column` - 0-based column index
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### activateColumn

          void activateColumn(java.lang.String columnHeader)
          	throws GeneralLeanFtException

      Double-clicks the specified column header in this grid.
      Parameters:
        `columnHeader` - the column caption.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectColumn

          void selectColumn(int column)
                     throws GeneralLeanFtException

      Selects (clicks) the specified column header in this grid.
      Parameters:
        `column` - 0-based column index
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### selectColumn

          void selectColumn(java.lang.String columnHeader)
               throws GeneralLeanFtException

      Clicks the specified column header in this grid.
      Parameters:
        `columnHeader` - the column caption
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getCell

          TableCell getCell(int row,
          		   java.lang.String columnHeader)
          	throws GeneralLeanFtException

      Returns a cell in the grid.
      Parameters:
        `row` - 0-based row number
        `columnHeader` - the column caption
      Returns:
        the cell
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

    - #### getRows

          java.util.List<TableRow<TableCell>> getRows()
                                               throws GeneralLeanFtException

      Returns the collection of rows.
      Returns:
        the collection of rows.
      Throws:
        `GeneralLeanFtException` - if an error occurs during execution.

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: