Hello,
I watched this video to hopefully add a search box to a page with a large database (it has over 3500 rows) using a table. Here is the video I watched > https://www.youtube.com/watch?v=Hx7_8-lRsW0&feature=youtu.be . However, try as I might, I cannot get it to work.
I was wondering if someone can take a look at my code and the table structure to see what I am doing wrong. I am assuming there are more steps that are needed but I don’t have enough coding experience to figure it out. Ideally, what I would really like is a function that would “rapid scroll” through the list to find the row data that the user is searching for but I cannot find any documentation on how to do that. But I will be ok with it something like what is in the video provided above. Any help would be greatly appreciated.
import wixData from 'wix-data';
// For full API documentation, including code examples, visit http://wix.to/94BuAAs
$w.onReady(function () {
//TODO: write your page related code here...
});
export function Filter_click(event) {
$w("#prefixsuffixtrademark").setFilter(wixData.filter()
.contains("prefix", $w("#filterInput").value));
}