Add table options for vertical scroll, search, sort, and filter.
I am looking for a way to add the following to the table showing at https://tptxdev.com/carlist
- Vertical scroll for table
- Search box for customers to be able to search some of the table content
- Filter capability for the customer to be able to filter by individual fields
- Sort capability for the customer to be able to sort at least by ascending or descending order on any particular field
Isn’t it already provided by the wix out of the box table ?
Absolutely, but only from the back-end admin panels, not for the end user. It is indeed odd that they have it available there but not available for us to give to a viewer.
Incidentally, the menu styles, also available to us on the back-end aren’t available for us to use on the front-end either.
- Add a —> TABLE-ELEMENT onto your PAGE and conect it via a DATASET to your DATABASE.
…or…
- Add a REPEATER to your PAGE and connect it aswell via a DATASET to your DATABASE.
FILTERING & SORTING can be managed inside the PROPERTY-PANEL of your DATASET (or by code).
I may have found filtering and sorting as you suggested but still not able to figure out how to add the right table element and/or repeater for the table search to function 12.18.2023-16.55.57.
On second minute you were already looking at the PROPERTY-PANEL of your DATASET.
There as you could see, you have had teh SORTING and the FILTERING options.
Once you have connected your TABLE to your DATABASE via a DATASET
DATABASE —> DATASET —> TABLE
You can control everything over the dataset (sorting + filtering).
To be able to generate more complexe features and functions you will need to use CODING.
The better option compared to use a table → you can use a REPEATER.
A —> REPEATER is the better and more flexible TABLE.
If a table do not exist in Wix-Studio (that would be very strange if so) → then you still can switch over to REPEATER and generate even a better TABLE.
Dima, thank you!
If we need to switch the type of table to a repeater, that sounds ok to me but I still don’t understand how to do that or how that would get me a keyword search of the data for the end user to be able to use when viewing the page at https://tptxdev.com/carlist. Also, vertical scrolling needs to be added and any additional assistance is greatly appreciated.