Filter Dropdown List

Hello Pratheepan

So I’m assuming you have a data set that contains at least two fields one for the shop and one for the country.

To show a list you can use a repeater or a table.

Follow the following hints to achieve that:

  1. you need to connect your list to the data set’s shops field

  2. add the countries you want to filter based of to the drop down, you can do that manually of using code where you will query the data base and find all the list of items and then get the unique countries and set form the drop down data then set it to it. or you can have a separate collection that contains the countries and just connect it to it.

  3. add on change event to the drop down, in this event get the value selected and set the list’s data set’s filter to it then refresh the data set.

Good Luck! I hope this helps

Massa