I have a visualforce page which displays the activities (events, tasks, notes, files) from a account in a table. Some accounts have a huge number of activities and it would be comfortable to sort or filter the table. I found a good solution to sort from https://www.j-berkemeier.de/TableSort.html# but not filtering. Do you know a java script that can do both?

1 Answer 1


If you have to do sorting/filtering/pagination in VF pages, then datatables.net always proves to be useful.

One example can be found in this blog.

  • 1
    While this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – identigral
    Feb 4, 2022 at 16:19
  • Ok noted, thanks @identigral
    – user43598
    Feb 5, 2022 at 10:17

Not the answer you're looking for? Browse other questions tagged .