DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
265834762007MercedesGreen
ccffa5381992FiatBlack
cded47932000RenaultBrown
ba5c06ba1985BMWBrown
d6f081421963MercedesYellow
f65d968d1983VolvoYellow
c221b8b51987VolvoMaroon
30c930b72002BMWSilver
e8c872e41962FordBrown
67f75a461999VolvoBrown
<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>