Table of Contents

Interface IComponentOneGrid

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

Base interface for ComponentOne C1FlexGrid control and ComponentOne C1TrueDBGrid object.

public interface IComponentOneGrid : ICustomGrid
Inherited Members

Properties

Rows

Returns the rows.

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

Property Value

ReadOnlyCollection<ITableRow<IC1TableCell>>

Methods

ActivateCell(int, string)

Double-clicks the specified cell in this grid.

void ActivateCell(int row, string columnHeader)

Parameters

row int

0-based row number.

columnHeader string

The column caption.

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.

GetCell(int, string)

Returns a cell in the grid.

IC1TableCell GetCell(int row, string columnHeader)

Parameters

row int

0-based row number.

columnHeader string

The column caption.

Returns

IC1TableCell

MakeCellVisible(int, string)

Scrolls the specified cell into view.

void MakeCellVisible(int row, string columnHeader)

Parameters

row int

0-based row number.

columnHeader string

The column caption.

OpenCellElement(int, int)

Selects the specified cell and opens a cell's pop-up cell element.

void OpenCellElement(int row, int column)

Parameters

row int

0-based row number.

column int

0-based column index.

OpenCellElement(int, string)

Selects the specified cell and opens a cell's pop-up cell element.

void OpenCellElement(int row, string columnHeader)

Parameters

row int

0-based row number.

columnHeader string

The column caption.

SelectCell(int, string)

Selects the specified cell in this grid.

void SelectCell(int row, string columnHeader)

Parameters

row int

0-based row number.

columnHeader string

The column caption.

SelectColumn(int)

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

void SelectColumn(int column)

Parameters

column int

0-based column index.

SelectColumn(string)

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

void SelectColumn(string columnHeader)

Parameters

columnHeader string

The column caption.

SetFilter(int, string)

Applies the specified filter string to the specified column.

void SetFilter(int column, string filter)

Parameters

column int

0-based column index.

filter string

The filter name.

SetFilter(string, string)

Applies the specified filter string to the specified column.

void SetFilter(string columnHeader, string filter)

Parameters

columnHeader string

The column caption.

filter string

The filter name.

Sort(int)

Sorts this table by the specified column (ascending).

void Sort(int column)

Parameters

column int

0-based column index.

Sort(string)

Sorts this table by the specified column (ascending).

void Sort(string columnHeader)

Parameters

columnHeader string

The column caption.

SortDescending(int)

Sorts this table by the specified column (descending).

void SortDescending(int column)

Parameters

column int

0-based column index.

SortDescending(string)

Sorts this table by the specified column (descending).

void SortDescending(string columnHeader)

Parameters

columnHeader string

The column caption.