1 Reply Latest reply on Mar 7, 2011 6:10 PM by Tim Evers

    capturing records from rich:datatable after applying filter

    bart king Newbie

      I have a rich:datatable and developed a custom reports component to export the table to excel format. However, when a filter is applied on the table and get fewer results displayed on the screen, the reporting component exports the entire table again. I am unable to capture the filtered records which can be sent to the reporting component for export. Please provide your inputs. Thanks!

        • 1. Re: capturing records from rich:datatable after applying filter
          Tim Evers Master

          You are going to have to do the work yourself.


          Capture the values of the filter and write some code that filters the records going to your reporting component.


          Alternatively, maybe you should write your own filter methods that way you can keep a track of the filtered list yourself when the method gets called.


          Either way you are going to have to write some code. The functionality you want is not part of the component.