Mirage LIVE PREVIEW

DataTable - RTL

DataTable has built-in support for RTL languages..

Documentation
IdYearBrandColor
e948e3c81988MercedesSilver
49ae48b12000HondaGreen
fac8edf21974VolkswagenGreen
ee9bfa9e2002JaguarGreen
bb4456c41979FordGreen
afb4e90f1985AudiSilver
c34700051971BMWYellow
d143a0571995FiatBlue
b65da4291966VolvoMaroon
495fa2d81973VolkswagenSilver
<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>