3 Replies Latest reply on Dec 27, 2007 3:50 AM by abcd1

    rich:scrollabledatatable

    abcd1

      how to make the header text center in the cell..
      i am getting the header text left aligned i want it to be center aligned
      hopping your valuable reply

        • 1. Re: rich:scrollabledatatable

          <rich:scrollableDataTable
          var="fileJS" value="#{listPackages.arrayFiles}"
          first="0"
          width="400px"
          columnClasses="col"
          height="200px" hideWhenScrolling="false"
          onRowDblClick="setPageToLayer(this)">

          <rich:column
          width="400px"
          sortExpression="#{fileJS.fullPath}">

          HEADER -- > <f:facet name="header">FullPath</f:facet>

          <h:outputText value="#{fileJS.fullPath}"/>
          </rich:column>

          </rich:scrollableDataTable>

          • 2. Re: rich:scrollabledatatable
            abcd1

            thanks for the reply...
            but the header text is not alinged..

            now the header is

            Name |Age |Class

            and i need

            Name | Age | Class

            pls help, [/img]

            • 3. Re: rich:scrollabledatatable
              abcd1

              thanks......
              i got it.
              i write a CSS and put the class name in headerclass in porperty