DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
6d8a08031998AudiWhite
0bcf38a91979FiatRed
201b04d11972MercedesOrange
74c376381966BMWBrown
3f35d1201965HondaWhite
0886efa31965VolvoWhite
1f34201f1990HondaGreen
87f2ac201965AudiOrange
782c39ea1977AudiRed
592df4952007JaguarOrange
<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>