The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientNavBar.GetGroup(index) Method

Returns a group specified by its index.

Declaration

GetGroup(index: number): ASPxClientNavBarGroup

Parameters

Name Type Description
index number

An integer value specifying the zero-based index of the group object to retrieve.

Returns

Type Description
ASPxClientNavBarGroup

An ASPxClientNavBarGroup object representing the group located at the specified index within the navbar's ASPxNavBar.Groups collection.

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.

See Also