ui-grid
ui-grid copied to clipboard
Determine whether a row is a groupHeader in link function of a directive
Hi, I'm using the ui-grid grouping feature in one of my applications, and I'd like to apply a directive which should do a specific behaviour only for the cells in groupHeaders. I've applied the directive in the cellTemplate option.
http://plnkr.co/edit/82E47RKZFtiAm9T5Gplq?p=preview
The plunker above is an example, how do I turn only the groupHeaders red for the column State here? If I expand a groupHeader, the normal rows are also red for the column State.