ConfigureRow

Top  Previous  Next

Specifies the attributes of a row for the full grid in readonly mode.

[Visual Basic .NET]

Public Function ConfigureRow(ByVal SectionIndex As Integer,

                                            ByVal RowIndex As Integer,

                                            ByVal Tag As Object,

                                            ByVal IsChecked As Boolean) As Boolean

[C#]

public bool ConfigureRow(int SectionIndex,

                                    int RowIndex,

                                    object Tag,

                                    int IsChecked);

Parameters

SectionIndex

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

RowIndex

Specifies the index (0-based) of the row.

Tag

Specifies the tag value of the row, which is used to uniquely identify the current row. Since after sorting a column, all rows are probably repositioned, so the tag value is used to identify which is which.

IsChecked

Specifies whether the current row is checked or not - either TRUE (checked) or FALSE (unchecked).

 

Return Value:

If the operation is successful, it returns TRUE; otherwise it returns FALSE. For example, one or more index values are out of bound.

If the row(s) are sorted by clicking one column header, this method returns FALSE.

 

Remarks

The sync row in the associated sub grid is automatically configured.