How to create custom filters for datasets on Wix Studio

Опубликовано: 08 Октябрь 2024
на канале: Wix for Developers
1,541
24

Learn how to code custom filters for your datasets on Wix Studio.

***************************************
Additional Wix for Developers Resources

Get Started Coding on Wix Playlist (6 Videos) ►    • Start Coding with Velo  

***************************************
Description

Wix Studio provides many ways to connect to your data out of the box. Sometimes, you will need to create a custom experience for your users and in this video you will learn how to filter datasets connected to multiple inputs and repeaters with code.

Dataset API ► fhttps://dev.wix.com/docs/velo/api-ref...
API Documentation ► https://www.wix.com/velo/reference/ap...

Timestamps:

00:28 📊 Filter data connected to a front-end element, like a repeater, by applying filters to a dataset.
01:11 🛠️ Configure dataset settings to connect a repeater to a collection in the CMS.
01:38 🔄 Use event handlers to update filters when input elements are changed.
02:20 🔍 Create and apply filters using the Wix data filter object based on user input values.
03:29 🚧 Keep filtering logic in one place to avoid overriding custom filters set in code by UI interactions.
04:10 🍽️ Filter data based on dropdown selection, considering default options like "all."
04:37 🥦 Implement logic in code to prevent overriding filters set through UI for checkboxes.

#wixstudio #javascript #webdevelopment #coding #wix #data #website

Be sure to subscribe for more developer tips and tutorials.    / @wixfordevelopers  

STAY TUNED:
Discord ►   / discord  
Twitter ►   / devsonwix  
YouTube ►    / @wixfordevelopers