Hide a row in Database

Hi
I want to be able to hide a row in a database. I don’t want to delete the row as I may use it at a later time and don’t want to lose all the information/images etc I have set up for that particular item.

Is there an option to hide instead of just deleting?
Thanks

You can try a simple fix and just have an empty field in any of your dataset rows that you don’t want to have shown.

Then you can simply filter your dataset using the isNotEmpty function from Wix Data-Wix Data Filter, like Roi has described in this previous post here, although this would depend on how many rows you would want to have hidden.
https://www.wix.com/corvid/forum/community-discussion/hide-individual-row-that-contains-a-null-value-in-field
https://www.wix.com/corvid/reference/wix-data.WixDataFilter.html#isNotEmpty
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#setFilter

2 Likes

Thanks for that will check them out :slight_smile: