Components
    • Barcodes
    • Buttons
    • Charts
    • Conversational UIupdated
    • Data Query
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editorupdated
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputs
    • Labels
    • Layoutupdated
    • ListBoxnew
    • ListView
    • Mapbeta
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PivotGridbeta
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    Styling & Themes
    Common Features
    Project Setup
New to Kendo UI for Angular? Start 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.

@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

Not finding the help you need?