3 Replies Latest reply on Oct 29, 2008 6:32 AM by ijontichy

    scrollableDatatable selection with just one entry

    ijontichy

      Hi,

      I face a problem with scrollableDataTable when the table contains only
      one entry. Clicking on the entry does not seem to select it, i.e it is not
      highlighted. After adding a second entry to the table clicking on either
      entry highlights it as expected. I'm using richfaces 3.1.5.
      Here is the source:

      <h:form id="helloForm">
      <rich:scrollableDataTable value="#{myManagedBean.names}" var="name">
      <rich:column>
      <h:outputText value="#{name}"/>
      </rich:column>
      </rich:scrollableDataTable>
      </h:form>

      Anybody noticed something similar?

      Thanks