Aligning columnSummary

Tags: #<Tag:0x00007f0b02b1ffa8> #<Tag:0x00007f0b02b1fc60>

Hi !

I’m trying to create a table with all values centered and a columnSummary.
I used className: 'htCenter' to horizontally center cells, but the option does not seem to apply to the summary.

Is there a way to do it ?
Here is a jsFiddle to reproduce the issue :

https://jsfiddle.net/jghse49b/1/

Hi @gregoire.spiers

It is possible. However it might be a little bit misleading, as columnSummary option attaches its own class. You need to modify it by using CSS, here’s an example:

https://jsfiddle.net/aszymanski/bjguef8q/

1 Like

That is crystal clear, thank you