How can I create an option to filtering database table by the visitors?
1 Like
You can add for example a dropdown with filters and then use the setFilter function in code on the dataset on your page for filtering. If you want to sort you can add controls and then hook the wix-data query to that controls click action and when clicked use query function and sort to update the data on your page. You can use results from dataquery to update the rows on a table or any other way you want.