Setting css on the selected column header in ng-grid

Is there a way to change the background color of an ng-grid header of a column when it is the one being sorted by? I don't see any different classes on that column than the other columns.

Can define your own headerRowTemplate which would let you use ng-class

https://github.com/angular-ui/ng-grid/wiki/Templating

I just did same by adding headerClass. Add headerClass: "your custom class name" next to the header in your controller. Then apply css on your custom header class in ng-grid.

Here are more classes : http://angular-ui.github.io/ng-grid/