DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
6f7135841978RenaultRed
68ce8cae1969FordSilver
47c583522009FiatBlack
f7eadd041961BMWMaroon
d3a728d51976FordGreen
a36172031990FordGreen
8b6994031961VolkswagenSilver
f60a0f761962FiatOrange
b9c9e3c21973VolkswagenBrown
3f5da6591970VolkswagenYellow
<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>