I am using Angular SlickGrid and want to center or right-align the text in the column headers. Not all columns the same way.
I figured out, there is a headerCssClass property in the column definition, but all the way I tried, this style never seems to get applied.
For the column-definition:
{
id: 'sourceNumber',
name: 'SourceNumber',
field: 'SourceNumber',
sortable: true,
width: 150,
headerCssClass: 'text-right',
cssClass: 'text-right'
},
In the CSS file:
.text-right {
text-align: right;
}
It works fine for the cell contents. But the text in the header is still left align.
What am I doing wrong?