Instead of deleting items that I no longer want to display on the page, is there a way to simply hide the item until I want to show it again at a later time?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Anyway, if you have no data at all, you'll need to use a slightly different code:
let itemsToOmit = [1,4]; $w.onReady(function () { let repeaterData = $w("#repeater1").data; $w("#repeater1").data = repeaterData.filter(e => !itemsToOmit.includes(repeaterData.indexOf(e))); });
Yes, it is possible, and in more than one way. But first add more details please.