0 Replies Latest reply on Nov 24, 2009 7:11 PM by Jorge Luis Pérez

    How to sort dataTable without columns tags

    Jorge Luis Pérez Newbie

      Hi,


      I need to sort my table for all columns, but my code has no columns tags:


      <rich:dataTable id="RAListing"
                var="_targetBean"
                rowKeyVar="_row"
                value="#{listingResult}"
                rendered="#{conversationContext.get('RAListing').getListingResult().size() != 0 }"
                   binding="#{listContent.listing}" 
                rows="#{RAListing.maxRows}"
                sortMode="single">
                                          
           <f:facet name="footer">
                      <rich:datascroller id="RAListingDataScroller" 
                                         maxPages="#{RAListing.maxPages}" 
                                         page="#{RAListing.pageIndex}" >
                              <a:support event="onclick" 
                                        action="#{conversationContext.get('RAListing').nextResultGroup(RAListing.pageIndex)}" 
                                        reRender="RAListing" 
                                        ajaxSingle="true" 
                                        requestDelay="0"/>
                       </rich:datascroller>
           </f:facet>
                               
      </rich:dataTable>



      Does anyone know how to do this?


      thanks in advance