Is it possible to have multiple search boxes (text boxes) to search on a single gallery.
IE one to search for a column for Name and one to Search a column for City
So I can find all people called "John" who live in "London"?
Thanks
Lee
Yes, you can have as many levels of search and filter that you want.
Not sure how you are searching now, but if it is with the Search function, then you would set your formula such as this:
Search(
Search(yourData,
personTextBox.Text, "personName"
),
placeTextBox.Text, "place"
)
Or you can use:
Filter(yourData,
personTextBox.Text in personName ||
placeTextBox.Text in place
)
Keeping in mind that none of the above is delegable to the datasource, so if record limits are less than your datasource receord count (with a max of 2000), then an alternate means of searching should be established.
I hope this is helpful for you.
Are you asking how to have your search go across several fields from one textinput, or how to add more textinput controls to search against other columns? If the later, then you would just add more using the pattern of the formula I provided.
User | Count |
---|---|
256 | |
108 | |
97 | |
51 | |
39 |