i am trying to make the group headers to be shown as the cellTemplate, this is the template i use:
<div class="ui-grid-cell-contents">
<div ng-show="COL_FIELD">
<i class="ace-icon fa fa-check bigger-110 green"></i>
</div>
<div ng-hide="COL_FIELD">
<i class="ace-icon fa fa-times bigger-110 red"></i>
</div>
</div>
and this is the columnDefs:
{
name:'active',
width: 100,
cellTemplate: $templateRequest('scripts/common/partials/formatter/boolean.tpl.html')
}
this shows the signs currently on the grid but when i group it, it shows 2 groups both of them have the "check" sign", i found out that it happens because the COL_FIELD on grouping is text that combines the count rows (0 (50), 1 (15)) which is true is there good way to set the group header currect?