alignHeader={'right'} has no effect on DataTable
Posted: 16 Sep 2022, 15:39
I'm Enjoying using Roma React 7.0.0, and primereact.
One annoyance is that has no effect when used on a DataTable 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.
Is it possible to get an update that will fix this? otherwise what do you suggest as a workaround?
Thanks in advance
One annoyance is that
Code: Select all
alignHeader={'right'}
Code: Select all
<Column field="quantity" header="Quantity" alignHeader={'right'} align={'right'}></Column>
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>
Thanks in advance