I have a ui-grid with some narrow columns and when I apply a sort to these columns, the little arrow that indicates the sort and its direction doesn't show. So I'd like to be able to style the column cells, or just the column header, according to the column sort status (asc, desc and none). Is this possible?
Here's an example screenshot showing three sorted columns (also note the menu icon is kind of broken, but that's another issue):
You can use the 'headerCellClass' option in your 'columnDefs'.
Documentation is here : http://ui-grid.info/docs/#/tutorial/115_headerCellClass
In your case it would be like :
Working Plunker is here : http://plnkr.co/edit/ifQlqkGAEdeELbMqozVE?p=preview