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

ASPxClientTreeList.GetToolbar(index) Method

Returns a toolbar specified by its index.

Declaration

GetToolbar(index: number): ASPxClientMenu

Parameters

Name Type Description
index number

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

Returns

Type Description
ASPxClientMenu

An ASPxClientMenu object that is the toolbar located at the specified index within the control's ASPxTreeList.Toolbars collection.

Remarks

The tree list control's client-side functionality allows its toolbars to be accessed programmatically on the client side. This method gets the client toolbar object specified by the its index within the ASPxTreeList.Toolbars collection.

Note that the index parameter is zero-based. If an invalid index is passed via the parameter, the method returns null.

See Also