Package com.hp.lft.sdk.winforms
Interface DataGrid
- All Superinterfaces:
CustomGrid
A .NET Windows Forms data grid control.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateColumn
(int column) Double-clicks the specified column header in this grid.void
back()
Navigates back to the parent table.void
collapseRow
(int row) Collapses the specified row.void
expandRow
(int row) Expands the specified row.getRows()
Returns the collection of rows.void
Hides the parent row when the child grid is displayed.void
openCellRelation
(int row, int column) Opens the child table referenced by the link in the specified cell.void
selectColumn
(int column) Selects (clicks) the specified column header in this grid.void
Displays 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
-