New to Kendo UI for AngularStart a free 30-day trial

AddCommandToolbarDirective

Represents the command for adding a new item to the Grid. You can apply this directive to any kendo-toolbar-button element inside a ToolbarComponent used in the Grid.

When the user clicks the toolbar button that is associated with the directive, , the add event is triggered (see example).

html
<kendo-grid>
     <kendo-toolbar>
        <kendo-toolbar-button text="Add new" kendoGridAddTool></kendo-toolbar-button>
     </kendo-toolbar>
</kendo-grid>

Selector

[kendoGridAddTool]

In this article
Selector
Not finding the help you need?
Contact Support