3 Replies Latest reply on Jan 5, 2009 6:58 AM by ilya_shaikovsky

    scrollableDataTable single column / frozenColCount issues

    cichomski

      I'm trying to use the scrollableDataTable in "scrollableDataList"-fashion (one column) to display variable number of "rows".

      I tried simply with one <rich:column> defined, but the output resulted in 2 columns, or more precisely one column with data, and some blank space on the right (+an annoying horizontal scroller).
      The point is to have only scoller, the vertical scroller!

      I played with the rich:column width but with no luck, there's always the additional space + h. scroller.

      I tried using the frozenColCount="1" and the second "column" but both scroller are now gone and i can only display up to as many rows as will fit in the scrollableDataTable heigth.


      I'm using RichFaces 3.1.1 and MyFaces 1.1.5 running on Tomcat 6.0.14.

      <rich:scrollableDataTable rowKeyVar="rkv" height="100px"
       width="400px" id="eventsList" rows="0" frozenColCount="1"
       value="#{bEventsFlash.flashEventsFormatted}" var="event1"
       sortMode="single">
      
       <rich:column id="message" width="380px">
       <f:facet name="header">
       <h:outputText styleClass="headerText" value="Message" />
       </f:facet>
       <h:outputText value="#{event1}" />
       </rich:column>
      </rich:scrollableDataTable>


      the bEventsFlash.flashEventsFormatted is a List