Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Toolbar

  • New
  • Edit
  • Delete
  • Refresh
  • Export to
    v
  • +
  •  
    ...
First Name 
Last Name 
Title 
Birth Date 
Hire Date 
NancyDavolioSales Representative12/8/19485/1/1992
AndrewFullerVice President, Sales2/19/19528/14/1992
JanetLeverlingSales Representative8/30/19634/1/1992
MargaretPeacockSales Representative9/19/19375/3/1993
StevenBuchananSales Manager3/4/195510/17/1993
MichaelSuyamaSales Representative7/2/196310/17/1993
RobertKingSales Representative5/29/19601/2/1994
LauraCallahanInside Sales Coordinator1/9/19583/5/1994
AnneDodsworthSales Representative1/27/196611/15/1994

The DevExpress ASP.NET Grid View (ASPxGridView) enables you to group the most important or frequently used grid commands, and expose them through customizable toolbars for efficient end-user access.

The ASPxGridView stores toolbars (which are GridViewToolbar class instances) in its Toolbars collection. You can add or remove toolbars, change their availability and position (Visible, Enabled, Position), and populate them with toolbar items (GridViewToolbarItem class instances) using the Items property. Toolbar items can trigger standard grid commands (that is, data item editing, deletion, creation, etc.) and any custom actions, if required.

  • Standard Toolbar Items
    To make a toolbar item execute a standard command, set the item's Command property to the desired command name listed by the GridViewToolbarCommand enumeration. A standard toolbar item automatically displays the command-related text and image (optional). Clicking a standard toolbar item executes the corresponding grid command.
  • Custom Toolbar Items
    If you need to perform a custom action, set a toolbar item's Command property to the Custom value (the default setting), specify a custom command name through the item's Name property and define item characteristics (such as text, image, etc.). Then handle the server ToolbarItemClick event or client ToolbarItemClick event (or both) to identify the triggered custom command by its name and execute the required action.

Note that toolbar items expose the Items property allowing you to create hierarchies of nested toolbar items of unlimited depth.