Table filtering and selected rows. Is this a bug?

I have a query displaying jobs where the user can select multiple jobs to perform actions.
I have a filter for neighborhoods to display jobs in various neighborhoods.

The goal is to get a select number of jobs to perform an action using a combination of selecting the rows and the filter.

What I have realized is if a user selects a row then filters a neighborhood where that job is not present (so it is no longer displaying), that job is still in the selectedRows array.

Even if this is a bug (maybe not) I still need a combo of selectedrows and data. How could I achieve this?

And now I finally understand a good use case for the "Persist row selection" :grinning:

Hopefully, this helps someone else!

2 Likes