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

Post Reply
Posts: 3
Joined: 13 Apr 2020, 22:33

16 Sep 2022, 15:39

I'm Enjoying using Roma React 7.0.0, and primereact.

One annoyance is that

Code: Select all

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

Posts: 37
Joined: 24 Aug 2022, 13:17

03 Oct 2022, 15:06

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.

Post Reply

Return to “Roma - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest