0 Replies Latest reply on Mar 20, 2012 7:49 AM by Max Rainer

    collapsibleSubTable and filtering

    Max Rainer Newbie


      I want to filter in a dataTable that has a collapsibleSubTable

      I am using Richfaces 4.1.

      Where do I have to place my "deviceFilterBean.filterNameImpl" ?

      Has anyone an example for that?


      I also have some problems with "rows" in dataTable when using subTables. Maybe another hint?


      Thx a lot



      <rich:dataTable value="#{deviceTableBean.devices}" var="device" id="table">
          <f:facet name="header">
              <rich:columnGroup id="tableheader" >
                  <rich:column styleClass="tr2">
                      <h:outputText value="Master Device" /><br/>
                      <h:inputText value="${deviceFilterBean.nameFilter}" >
                          <a4j:ajax render="table@body" execute="@this" event="keyup" />
                  <rich:column styleClass="tr1">
                      <h:outputText value="Model Name" /><br/>
          <rich:column rendered="${not empty device.membersList}" filter="${deviceFilterBean.filterNameImpl}"
              <rich:collapsibleSubTableToggler  for="member" >
                  <h:outputText value="#{device.hosts.name}" />
          <rich:collapsibleSubTable expandMode="client" expanded="#{false}" 
              value="#{device.membersList}" var="member" id="member" >
              <rich:column> </rich:column>
                  <h:outputText value="#{member.entModelName}" />