Hi Support team,
I’m trying to change the text alignment in a rendered column and it doesn’t seem to work.
See my example here: https://jsfiddle.net/Lotchi/qrgg7cto/
I want to center the content of “Owner” Column.
How can this be done?
Thanks in advance,
Regards,
Thomas
Hi @luexternaltweyrich
Take a look at lines 144-146
of https://jsfiddle.net/k6tysbu5/
I have added 2 predefined classes that will
-
htMiddle
align the text vertically
-
htCenter
align the text horizontally
Hi @aleksandra_budnik,
This is working fine but I need to click in one cell of my table to have this applied.
Which is quite strange because other properties changed in the same renderer are well applied without clicking in any cell.
If you have any idea…
Meantime I will try to reproduce in a simple example within JSFiddle.
kr
Thomas
Hm… I have it working at the initialization. You can try adding hot1.render()
.
Hi,
it was an issue because I use multiple renderer.
Now it is ok.
Thanks for your help!
Great
happy to hear that it works.