For the grouped ui-grid in the Plunker link, the third column, how to let the button only shows in the groupHeader rows?
Plunker: http://plnkr.co/edit/KNNUPhAmD91HeHkDaQyr?p=preview
I tried using the following cellTemplate on the third column, but it doesn't work, since the third column is not a grouped column.
cellTemplate: '<div ng-if="!col.grouping || col.grouping.groupPriority === undefined || col.grouping.groupPriority === null || ( row.groupHeader && col.grouping.groupPriority === row.treeLevel )" class="ui-grid-cell-contents" title="TOOLTIP">{{COL_FIELD CUSTOM_FILTERS}}</div>'
Most of the codes of the grid are from official UI Grid tutorial 209. I just added the button part.