DataTable - RTL DataTable has built-in support for RTL languages..
IdYearBrandColor
127f41c41991FordMaroon
36afe6d21975VolvoRed
765a26541978BMWBlack
3f9587091998FordYellow
ff735cf41989MercedesYellow
0b3d94d11973AudiBlue
c4fe51bc1965BMWBrown
a86031d92009FiatOrange
9dc6ffb12003VolkswagenMaroon
5d4133011994BMWYellow
<p:dataTable var="car" value="#{dtBasicView.cars}" dir="rtl">
    <p:column headerText="Id">
        <h:outputText value="#{car.id}" />
    </p:column>

    <p:column headerText="Year">
        <h:outputText value="#{car.year}" />
    </p:column>

    <p:column headerText="Brand">
        <h:outputText value="#{car.brand}" />
    </p:column>

    <p:column headerText="Color">
        <h:outputText value="#{car.color}" />
    </p:column>
</p:dataTable>
                
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.3-SNAPSHOT on Mojarra-2.3.2.