0 Replies Latest reply on Mar 15, 2011 12:41 AM by satyakatti

    Custom filter for DataTable

    satyakatti

      Hi All,

       

      I am at conceptual stage of my project and in one scenerio I would need a lazy loading table along with the filter option on the column headers.

       

      So I decided to go for ScrollableDataTable with filterBy and filterEvent on rich:column. But the search happens only on the records that are displayed in Table. If my filter criteria matches a result which is still not lazy loaded then table would not display that result.

       

      I also had a look at "Table Filtering", but that does not support lazy loading but searching meets my requirement i.e if you search for a result in 3rd page...it would give me correct output.

       

       

      Is there any way so that filtering also considers the rows that are yet to be lazy loaded. Or else can I provide my own implementation of filtering for this scenario?

       

      Regards,

      Satya