Currently we are using your combobox control to achive a search input with grouping by result type. Our returned json looks like this:
Grouping is applied by group template by field "type", but that doesn't work:
The last "type" is applied to all group templates.
Our group template definition:
<ng-template #groupTemplate let-data="">
<b>{{data.type | translate }}</b>
</ng-template>Our combo:
<ejs-combobox id='searchbar'
placeholder="{{ 'SEARCH' | translate }}"
class=""
[dataSource]="data"
[itemTemplate]='itemTemplate'
[allowFiltering]='true'
[footerTemplate]='footerTemplate'
[headerTemplate]='headerTemplate'
(filtering)='onFiltering($event)'
[fields]="fields">
Are we missing an reference for the current group item or how do we have to do that?