DataTable - RTL

DataTable has built-in support for RTL languages..

IdYearBrandColor
539a5a6b1987JaguarGreen
e92aed521975MercedesMaroon
4c16efba2000RenaultBrown
353687bb2009AudiBrown
67f402851961BMWYellow
5aa70fb71993AudiYellow
136d4aab1965HondaRed
307f8aa41969AudiBlack
d4aaad131964FiatYellow
91fc31e42001VolkswagenSilver
<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>