Skip to main content
Tab

GridViewToolbarItem Class

Implements the Grid View’s toolbar item functionality.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public class GridViewToolbarItem :
    GridToolbarItem

Remarks

Populate a grid toolbar with a GridViewToolbarItem object and specify its Command property to add the corresponding item to the toolbar.

Run Demo: Grid - Toolbar Run Demo: Grid - Exporting to Different Formats

ASPxGridView-Toolbar-Exporting

<dx:ASPxGridView ID="Grid" runat="server" KeyFieldName="ProductID" DataSourceID="ProductsDataSource">
    <SettingsExport EnableClientSideExportAPI="true"/>
    <Toolbars>
        <dx:GridViewToolbar>
            <Items>
                <dx:GridViewToolbarItem Command="ExportToPdf" />
                <dx:GridViewToolbarItem Command="ExportToDocx" />
                <dx:GridViewToolbarItem Command="ExportToXlsx"/>
                <!-- ... -->

Inheritance

Object
StateManager
CollectionItem
MenuItem
DevExpress.Web.GridCommandMenuItem
See Also