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

GroupTagTemplateDirective

Renders the grouped tag values in the MultiSelect (see example). The template context is set to the current component. To get a reference to the current grouped data items collection, use the let-dataItems directive.

The GroupTagTemplate directive can only be used with the MultiSelect and MultiSelectTree components.

ts
@Component({
selector: 'my-app',
template: `
 <kendo-multiselect kendoMultiSelectSummaryTag [data]="items">
   <ng-template kendoMultiSelectGroupTagTemplate let-dataItems>
     <span>{{dataItems.length}} item(s) selected</span>
   </ng-template>
 </kendo-multiselect>
`
})
class AppComponent {
  public items: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
}

Selector

[kendoMultiSelectGroupTagTemplate],[kendoMultiSelectTreeGroupTagTemplate]

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