DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
0d48ca171966VolkswagenMaroon
c107eb5e1995RenaultBlack
13988cb11972AudiSilver
d5a87ba61998AudiGreen
e920ec201989JaguarSilver
5755cfb22001RenaultWhite
9f977af91966RenaultWhite
94842bbe2005FordYellow
6094928f2004VolvoOrange
0c4d63d41966VolvoGreen
<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>