Row Header Styling - text alignment

Tags: #<Tag:0x00007efc617810e0>

Does anyone know how to ‘right’ align the text in the row headers?

I know I can use ‘className: “htRight”’ in the cell renderer. But how do I do this for Row and Column headers?

Thanks,
Steen

Hi @steen.laursen

You can use the afterGetRowHeader callback and add the CSS class to all the row headers.

Demo: http://jsfiddle.net/s6jj60r7/

Thanks for the quick answer.

You’re welcome.

I assume that we can close the issue.

1 Like