filter table rows using javascript

  • 2
  • Question
  • Updated 4 years ago
What is the best way to filter a table so that only rows that pass a javascript filter are shown?  Kind of like a regular filter, except I can't express my filter as a SOQL expression (it is too complex and requires calculation based on the rows).  And it's very much like Context (in memory filtering, rather than SOQL filtering), except that I want to call Javascript to make the determination rather than relating to another table.

Currently I am using model.abandonRow / model.removeRowById, and that generally works, except that the row counters and page counters get all messed up.

Is there a better way to approach this problem?

Thanks,

- Chris
Photo of Chris

Chris

  • 1,632 Points 1k badge 2x thumb

Posted 4 years ago

  • 2

Be the first to post a reply!