Table of Contents

Interface IDataGrid

Namespace
HP.LFT.SDK.WinForms
Assembly
HP.LFT.SDK.dll

A .NET Windows Forms data grid object.

public interface IDataGrid : ICustomGrid
Inherited Members

Properties

Rows

Returns collection of rows.

ReadOnlyCollection<ITableRow<ITableCell>> Rows { get; }

Property Value

ReadOnlyCollection<ITableRow<ITableCell>>

Methods

ActivateColumn(int)

Double-clicks the specified column header in this grid.

void ActivateColumn(int column)

Parameters

column int

0-based column index.

Back()

Navigates back to parent table.

void Back()

CollapseRow(int)

Collapses the specified row.

void CollapseRow(int row)

Parameters

row int

0-based row number.

ExpandRow(int)

Expands the specified row.

void ExpandRow(int row)

Parameters

row int

0-based row number.

HideParentRow()

Hides the parent row when the child grid is displayed.

void HideParentRow()

OpenCellRelation(int, int)

Opens the child table referenced by the link in the specified cell.

void OpenCellRelation(int row, int column)

Parameters

row int

0-based row number.

column int

0-based column index.

SelectColumn(int)

Selects (clicks) the specified column header in this grid.

void SelectColumn(int column)

Parameters

column int

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.

void ShowParentRow()