SetVisibleCell

Top  Previous  Next

Makes a specific cell visible for the grid in readonly mode - either the full gird or a sub grid.

[Visual Basic .NET]

Public Function SetVisibleCell(ByVal GridIndex As Integer,

                                             ByVal SectionIndex As Integer,

                                             ByVal RowIndex As Integer,

                                             ByVal ColumnIndex As Integer) As Boolean

[C#]

public bool SetVisibleCell(int GridIndex,

                                     int SectionIndex,

                                     int RowIndex,

                                     int ColumnIndex);

Parameters

GridIndex

Specifies the working grid index - either the full gird or a sub grid. -1 indicates the full grid; for a sub grid, the parameter's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

SectionIndex

Specifies the index (0-based) of the section in which the cell resides. If the AllowSections is set to FALSE, this parameter becomes irrelevant.

RowIndex

Specifies the index (0-based) of the row in which the cell resides.

ColumnIndex

Specifies the index (0-based) of the column in which the cell resides. If the SelectRow is set to TRUE, this parameter becomes irrelevant.

 

Return Value:

The return value is TRUE if the action succeeds; otherwise it is FALSE.