The DevExpress ASP.NET MVC TreeList enables you to group the most important or frequently used grid commands, and expose them through customizable toolbars for efficient end-user access.
The TreeList stores toolbars (which are MVCxTreeListToolbar 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 (MVCxTreeListToolbarToolbarItem 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 TreeListToolbarCommand 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.