Package com.hp.lft.sdk.winforms
Interface DataGrid
- All Superinterfaces:
CustomGrid
A .NET Windows Forms data grid control.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateColumn(int column) Double-clicks the specified column header in this grid.voidback()Navigates back to the parent table.voidcollapseRow(int row) Collapses the specified row.voidexpandRow(int row) Expands the specified row.getRows()Returns the collection of rows.voidHides the parent row when the child grid is displayed.voidopenCellRelation(int row, int column) Opens the child table referenced by the link in the specified cell.voidselectColumn(int column) Selects (clicks) the specified column header in this grid.voidDisplays the parent row when the child grid is displayed.Methods inherited from interface com.hp.lft.sdk.winforms.CustomGrid
getTableTestObject
-
Method Details
-
activateColumn
Double-clicks the specified column header in this grid.- Parameters:
column- 0-based column index- Throws:
GeneralLeanFtException- if error occurs during execution
-
back
Navigates back to the parent table.- Throws:
GeneralLeanFtException- if error occurs during execution
-
collapseRow
Collapses the specified row.- Parameters:
row- 0-based row number- Throws:
GeneralLeanFtException- if error occurs during execution
-
expandRow
Expands the specified row.- Parameters:
row- 0-based row number- Throws:
GeneralLeanFtException- if error occurs during execution
-
hideParentRow
Hides the parent row when the child grid is displayed.- Throws:
GeneralLeanFtException- if error occurs during execution
-
openCellRelation
Opens the child table referenced by the link in the specified cell.- Parameters:
row- 0-based row numbercolumn- 0-based column index- Throws:
GeneralLeanFtException- if error occurs during execution
-
selectColumn
Selects (clicks) the specified column header in this grid.- Parameters:
column- 0-based column index- Throws:
GeneralLeanFtException- if error occurs during execution
-
showParentRow
Displays the parent row when the child grid is displayed.
You can useopenCellRelation(int, int)to display the child table of a selected cell.
You can usehideParentRow()to hide a displayed parent row.- Throws:
GeneralLeanFtException- if error occurs during execution
-
getRows
Returns the collection of rows.- Returns:
- the collection of rows.
- Throws:
GeneralLeanFtException- if error occurs during execution
-