Version 2

    I have try to custom a filter like following


    <rich:column sortBy="#{report.dispReportName}" filterMethod="#{viewReportBean.filterStates}">

                                        <f:facet name="header">



                                                  Report Name

                                            <h:inputText value="#{viewReportBean.filterValue}" id="input"  onclick="Event.stop(event);">

                                                 <a4j:support event="onblur" reRender="resultTable,ds"

                                                ignoreDupResponses="true" requestDelay="700"







                                        <h:outputText value="#{report.dispReportName}"/>



    I key-in the filter, then filtered data show.  And I click the sorting icon,  i don't know why the table list all result (ignore the filter).


    as i click sorting icon, How can I just sort the filtered data? not all data?


    Please Help.Thanks.