2 Replies Latest reply on Oct 12, 2009 2:36 PM by Giovanni Miano

    Alignment of h:column

    Evelyn Jeba Newbie
      While using <h:column> within <h:dataTable>, by default the contents of the table gets left aligned while the table header remains aligned at the center. Moreover the table header has properties for sorting the table contents. I want the table header and the contents to be left aligned. I tried using <div align="left"> and style="text-align: center;", but i am not able to achieve what i want. What changes do i have to make in order to achieve what i need.

      <rich:dataTable id="personList"
                 rendered="#{not empty personList.resultList}">
              <f:facet name="header">
                  <ui:include src="/layout/sort.xhtml">
                      <ui:param name="entityList" value="#{personList}"/>
                      <ui:param name="propertyLabel" value="First Name"/>
                      <ui:param name="propertyPath" value="person.firstName"/>
              <h:outputText id="name" value="#{_person.firstName}">