New to Kendo UI for Angular? Start a free 30-day trial
AddCommandToolbarDirective
Represents the command for adding a new item to the TreeList. Apply this directive to any kendo-toolbar-button
element inside a ToolbarComponent. When the user clicks the toolbar button associated with the directive, the add
event is triggered.
html
<kendo-treelist>
<kendo-toolbar>
<kendo-toolbar-button text="Add new" kendoTreeListAddTool></kendo-toolbar-button>
</kendo-toolbar>
</kendo-treelist>
Selector
[kendoTreeListAddTool]