Back to Devexpress

ASPxClientGridBase.GetToolbar(index) Method

aspnet-js-aspxclientgridbase-dot-gettoolbar-x28-index-x29.md

latest1.5 KB
Original Source

ASPxClientGridBase.GetToolbar(index) Method

Returns a grid’s toolbar specified by its index.

Declaration

ts
GetToolbar(
    index: number
): ASPxClientMenu

Parameters

NameTypeDescription
indexnumber

The index of the toolbar object to retrieve.

|

Returns

TypeDescription
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

Card View Toolbars

Grid View Toolbars

Vertical Grid Toolbars

ASPxCardView.Toolbars

ASPxGridView.Toolbars

ASPxVerticalGrid.Toolbars

ASPxClientGridBase Class

ASPxClientGridBase Members