Combine search and selection in Inputs.table

I am exploring Inputs.table in framework.
I see that I can enable selection using code
const selection = view(
and search using code
const selection = view(Inputs.table(mytable, {required: false}))
How do I combine this two, so the user can both select rows and search rows?

They work really well together.

const results = view(;

const selection = view(Inputs.table(results));

Here, results will be an array with the search results, which you then use as the data for your table.

1 Like

Great! I was trying that, but was using the same cell. I guess that’s why it didn’t work for me first. Thanks!