3 Replies Latest reply on Oct 10, 2007 12:09 PM by Adrian Mitev

    facets in scrollableDataTable

    Anja Gruss Newbie

      Ok, since I can only sort in this table type, I immediately found the next problem.

      reference says:

      <rich:scrollableDataTable value="#{dataTableScrollerBean.allCars}"
      <!--...//Set of columns and header/footer facets-->

      If I try to put this block into the scrollableDataTable

      <f:facet name="header">
       <h:outputText value="ID" />
       ...and some more ...

      that row is not displayed at all.

      If I put the header into the column

      <rich:column id="id">
       <f:facet name="header"><h:outputText value="ID" /></f:facet>
       <h:outputText value="#{listitem.id}" />

      I get a header, which looks...well...let's not talk about it. Setting the attribute styleClass in the scrollableDataTable does nothing so far.

      Is the ref.guide incorrect or how do I use facets in that table?

      thanks again