GridViewToolbarItem Class
Implements the Grid View’s toolbar item functionality.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public class GridViewToolbarItem :
GridToolbarItem
#Related API Members
The following members return GridViewToolbarItem objects:
#Remarks
Populate a grid toolbar with a GridViewToolbarItem
object and specify its Command property to add the corresponding item to the toolbar.
<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"/>
<!-- ... -->