SetCheckedRows

Top  Previous  Next

Sets the status for all rows' checkbox(es) under a specific section for the full grid in readonly mode.

[Visual Basic .NET]

Public Function SetCheckedRows(ByVal SectionIndex As Integer, ByVal IsChecked As Boolean) As Boolean

[C#]

public bool SetCheckedRows(int SectionIndex, bool IsChecked);

Parameters

SectionIndex

Specifies the index (0-based) of the section. If it is -1, the action will be applied against all sections; otherwise the action will be applied against the specific section identified by this parameter.

IsChecked

Indicates the status of checkboxes - either TRUE (checked) or FALSE (unchecked).

 

 

Return Value:

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

 

Remarks

The sync row(s) in the associated sub grid are automatically affected.