title: Primefaces Filterby/Sort on a datatable with a subtable
body: <p>So lets say I have the following table:</p>
  
  <pre><code>        &lt;p:dataTable id="genaricTable" var="item" value="#{genaricBean.currentValue}" &gt;
              &lt;p:columnGroup type="header"&gt; 
                  &lt;p:row&gt;
                      &lt;p:column rowspan="" headerText="value1"/&gt;
                      &lt;p:column rowspan="" headerText="value2"/&gt;
                      &lt;p:column rowspan="" headerText="value3"/&gt;
                  &lt;/p:row&gt; 
              &lt;/p:columnGroup&gt;  
              &lt;p:subTable var="subItem" value="#{item.subItemList}" &gt;
                  &lt;f:facet name="header"&gt;  
                    #{item.header}
                  &lt;/f:facet&gt; 
                  &lt;p:column&gt;
                      &lt;h:outputText value="#{subItem.value1}"/&gt;
                  &lt;/p:column&gt;
                  &lt;p:column&gt;
                      &lt;h:outputText value="#{subItem.value1}"/&gt;
                  &lt;/p:column&gt;
                  &lt;p:column&gt;
                      &lt;h:outputText value="#{subItem.value1}"/&gt;
                  &lt;/p:column&gt;
              &lt;/p:subTable&gt;
          &lt;/p:dataTable&gt;
  </code></pre>
  
  <p>Is there a way I can filter/sort by the subcolumn tables with the built in primefaces components? The only thing I can think of is putting in a custom command link to do it.</p>