Interface IComponentOneGrid
Base interface for ComponentOne C1FlexGrid control and ComponentOne C1TrueDBGrid object.
Inherited Members
Namespace: HP.LFT.SDK.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface IComponentOneGrid : ICustomGrid
Properties
Rows
Returns the rows.
Declaration
ReadOnlyCollection<ITableRow<IC1TableCell>> Rows { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<ITableRow<IC1TableCell>> |
Methods
ActivateCell(int, string)
Double-clicks the specified cell in this grid.
Declaration
void ActivateCell(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column caption. |
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. |
GetCell(int, string)
Returns a cell in the grid.
Declaration
IC1TableCell GetCell(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column caption. |
Returns
| Type | Description |
|---|---|
| IC1TableCell |
MakeCellVisible(int, string)
Scrolls the specified cell into view.
Declaration
void MakeCellVisible(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column caption. |
OpenCellElement(int, int)
Selects the specified cell and opens a cell's pop-up cell element.
Declaration
void OpenCellElement(int row, int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| int | column | 0-based column index. |
OpenCellElement(int, string)
Selects the specified cell and opens a cell's pop-up cell element.
Declaration
void OpenCellElement(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column caption. |
SelectCell(int, string)
Selects the specified cell in this grid.
Declaration
void SelectCell(int row, string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | 0-based row number. |
| string | columnHeader | The column caption. |
SelectColumn(int)
Selects (clicks) the specified column header in a grid.
Declaration
void SelectColumn(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
SelectColumn(string)
Selects (clicks) the specified column header in a grid.
Declaration
void SelectColumn(string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | The column caption. |
SetFilter(int, string)
Applies the specified filter string to the specified column.
Declaration
void SetFilter(int column, string filter)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
| string | filter | The filter name. |
SetFilter(string, string)
Applies the specified filter string to the specified column.
Declaration
void SetFilter(string columnHeader, string filter)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | The column caption. |
| string | filter | The filter name. |
Sort(int)
Sorts this table by the specified column (ascending).
Declaration
void Sort(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
Sort(string)
Sorts this table by the specified column (ascending).
Declaration
void Sort(string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | The column caption. |
SortDescending(int)
Sorts this table by the specified column (descending).
Declaration
void SortDescending(int column)
Parameters
| Type | Name | Description |
|---|---|---|
| int | column | 0-based column index. |
SortDescending(string)
Sorts this table by the specified column (descending).
Declaration
void SortDescending(string columnHeader)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnHeader | The column caption. |