ASPxClientNavBar.GetGroup(index) Method
Returns a group specified by its index.
#Declaration
GetGroup(
index: number
): ASPxClientNavBarGroup
#Parameters
Name | Type | Description |
---|---|---|
index | number | The index of the group object to retrieve. |
#Returns
Type | Description |
---|---|
ASPx |
An ASPx |
#Remarks
The navbarl’s client-side functionality allows its groups to be accessed programmatically on the client side. This method gets a client group object specified by the index it has within the ASPxNavBar.Groups collection.
Note that the index parameter is zero-based and its upper available value is specified by the ASPxClientNavBar.GetGroupCount value decremented by one. If an invalid index is passed via the parameter, the method returns null.
This method can be used together with the ASPxClientNavBar.GetGroupCount method when iterating through the navbar’s group list.