DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
304abed21977BMWMaroon
e6bd82d71966VolkswagenBrown
ddf898461999RenaultSilver
6889a33f1983MercedesGreen
edfe43c71990VolkswagenWhite
467b11461980FordBlack
725628ae2007RenaultBlue
9829bfe61973VolkswagenGreen
f77a11751997MercedesSilver
1ba13e6f2007FordWhite
<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>