New to Kendo UI for Angular? Start 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 you click the toolbar button associated with the directive, the add event triggers (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
Not finding the help you need?
Contact Support

AltStyle によって変換されたページ (->オリジナル) /