DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
302f748a1989BMWWhite
9ddee8be1979RenaultMaroon
5a9f523d1998RenaultGreen
200f7a211962FiatBrown
d24ec6c31991BMWRed
44a66a381971VolvoYellow
06cbdd872004VolkswagenBlack
ccd970901969VolkswagenSilver
3947ad822006RenaultYellow
31cb83f81973AudiWhite
<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>