SetSectionStatus

Top  Previous  Next

Sets the status - either expanded or collapsed - for a specific section - for the full grid.

[Visual Basic .NET]

Public Function SetSectionStatus(ByVal SectionIndex As Integer, ByVal IsExpanded As Boolean) As Boolean

[C#]

public bool SetSectionStatus(int SectionIndex, bool IsExpanded);

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.

IsExpanded

Indicates the node status of the section(s) - either TRUE (expanded) or FALSE (collapsed).

 

 

Return Value:

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