Combobox grouping with templates

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?



3 Replies

KR Keerthana Rajendran Syncfusion Team May 29, 2018 01:02 PM UTC

Hi Marco, 
 
Thank you for contacting Syncfusion support. 
 
We were able to reproduce the issue in our end with ngTemplate and we have confirmed this as a defect. This fix will be included in our upcoming Volume 2 , 2018 release which will be rolled out by next week.  
 
 
Regards, 
Keerthana. 



MF Marco Franke June 11, 2018 07:08 PM UTC

Thank you for your reply. Any updates when the fix will be available for us?


KR Keerthana Rajendran Syncfusion Team June 12, 2018 04:39 AM UTC

Hi Marco,  
 
Sorry for the inconvenience. 
 
We have fixed this issue internally and we are currently in the testing phase of the stability of our Volume 2, 2018 release which will be rolled out by next week. You may also check our website periodically to know about our release schedule.  
 
 
Regards, 
Keerthana. 


Loader.
Up arrow icon