Skip to main content

ASPxClientGridBase.GetToolbar(index) Method

Returns a grid’s toolbar specified by its index.

Declaration

GetToolbar(
    index: number
): ASPxClientMenu

Parameters

Name Type Description
index number

The 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 Toolbars collection.

Remarks

The grid 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 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