BootstrapClientAccordionGroup.GetItem(index) Method
Returns the group’s item specified by its index.
#Declaration
GetItem(
index: number
): BootstrapClientAccordionItem
#Parameters
Name | Type | Description |
---|---|---|
index | number | An integer value specifying the zero-based index of the item to be retrieved. |
#Returns
Type | Description |
---|---|
Bootstrap |
A Bootstrap |
#Remarks
The Accordion control’s client-side functionality enables you to access and manipulate group items on the client. Use the GetItem method to get the client-side item object at the specified index in a group using array notation. This method can be used together with the ASPxClientNavBarGroup.GetItemCount method when iterating through the list of a group’s items.
Note that the index parameter is zero-based and its upper available value is specified by the ASPxClientNavBarGroup.GetItemCount value decremented by one. If you pass an invalid index via the parameter, the method returns null.