Database search options

I’m not sure if I need to post a new question or continue with this topic (it is related).

I’ve got a table populated from a search. Now I would like for the user to be able to click the row and be directed to a dynamic item page based on the results of the search. Is this possible?

My current code.

import wixData from ‘wix-data’;

$w.onReady(function () {

});

export function searchButton_onClick(event) {
wixData.query(‘Members’)
.contains(‘birthday’, $w(‘#textInput1’).value)
.or(wixData.query(‘Members’).contains(‘name’, $w(‘#textInput1’).value))
.or(wixData.query(‘Members’).contains(‘spouse’, $w(‘#textInput1’).value))
.find()
.then(res => {
$w(‘#table2’).rows = res.items;
});
}