Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Toolbar

  • New
  • Edit
  • Delete
  • Refresh
  • Export to
    v
Product Name 
Category 
Quantity Per Unit 
Unit Price 
Units In Stock 
Discontinued 
ChaiBeverages10 boxes x 20 bags$18.0039
ChangBeverages24 - 12 oz bottles$19.0017
Aniseed SyrupCondiments12 - 550 ml bottles$10.0013
Chef Anton's Cajun SeasoningCondiments48 - 6 oz jars$22.0053
Chef Anton's Gumbo MixCondiments36 boxes$21.350
Grandma's Boysenberry SpreadCondiments12 - 8 oz jars$25.00120
Uncle Bob's Organic Dried PearsProduce12 - 1 lb pkgs.$30.0015
Northwoods Cranberry SauceCondiments12 - 12 oz jars$40.006
Mishi Kobe NikuMeat/Poultry18 - 500 g pkgs.$97.0029
IkuraSeafood12 - 200 ml jars$31.0031
Page 1 of 8 (77 items)Prev12345678Next


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

The GridView stores toolbars (which are MVCxGridViewToolbar 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 (MVCxGridViewToolbarItem 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.