Interface IDataGrid
A .NET Windows Forms data grid object.
Inherited Members
Namespace: HP.LFT.SDK.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface IDataGrid : ICustomGrid
Properties
Rows
Returns collection of rows.
Declaration
ReadOnlyCollection<ITableRow<ITableCell>> Rows { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<ITableRow<ITableCell>> |
Methods
ActivateColumn(int)
Double-clicks the specified column header in this grid.
Declaration
void ActivateColumn(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
Back()
Navigates back to parent table.
Declaration
void Back()
CollapseRow(int)
Collapses the specified row.
Declaration
void CollapseRow(int row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
ExpandRow(int)
Expands the specified row.
Declaration
void ExpandRow(int row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
HideParentRow()
Hides the parent row when the child grid is displayed.
Declaration
void HideParentRow()
OpenCellRelation(int, int)
Opens the child table referenced by the link in the specified cell.
Declaration
void OpenCellRelation(int row, int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| int | column | 0-based column index. |
SelectColumn(int)
Selects (clicks) the specified column header in this grid.
Declaration
void SelectColumn(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
ShowParentRow()
Displays the parent row when the child grid is displayed.
You can use OpenCellRelation(int, int) to display the child table of a selected cell. You can use HideParentRow() to hide a displayed parent row.
Declaration
void ShowParentRow()