Page 1 of 1

alignHeader={'right'} has no effect on DataTable

Posted: 16 Sep 2022, 15:39
by camo_g
I'm Enjoying using Roma React 7.0.0, and primereact.

One annoyance is that

Code: Select all

alignHeader={'right'}
has no effect when used on a DataTable column.

Code: Select all

<Column field="quantity" header="Quantity" alignHeader={'right'} align={'right'}></Column>
It seems that Roma's styling is overriding any attempt to align
The p-align-right class is added, but then p-column-header-content and p-column-title must override somehow.

Code: Select all

<th class="p-align-right" role="columnheader"><div class="p-column-header-content"><span class="p-column-title">Quantity</span></div></th>
Is it possible to get an update that will fix this? otherwise what do you suggest as a workaround?

Thanks in advance

Re: alignHeader={'right'} has no effect on DataTable

Posted: 03 Oct 2022, 15:06
by habubey
Hello,
We are happy to hear that you are satisfied with Rome template. We have published a new version Rome Template nearly one week ago. Is it possible to update your packages and try it once more, otherwise please let us know and we'd be happy to fix it if there is any issue.