Table rows aligned to the right

Asked

Viewed 51 times

0

I want the rows of my table to be aligned to the right and the title of the centered column, can anyone help? The code is like this:

<p:column sortBy="totalApontado">
  <f:facet name="header">
   <h:outputText id="columnHeader_totalApontado" value="#       
   {messages['quantidade.apontada']}" />
  </f:facet>
  <h:outputText id="totalApontado"
  value="#{row.totalQuantidadeProcesso}" style="text-align: right;"/>
  • Hello, post your generated HTML code, so we can better assist.

  • to better help also put the photo of how the page is and detail better as you would like it to stay, because a vague explanation will have vague answers.

1 answer

0

Swap your css like this:

value="#{row.totalQuantidadeProcesso}" style="float: right;"/>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.