Hello,
I created an tablet application and now I want to filter the items of a TemplateGalleryList. I think this should work with a TextSearchBox, but all I can find is a TextInput. As I write something in an TextInputBox, it does not filter the items.
Can you help me with this? For example if I type an "L" I only want to see all the items that contain an "L".
Many thanks in advance!
Tobi
Solved! Go to Solution.
Hi,
Just cleaning up older unanswered posts,
If anyone arrived here after searching for similar, here's how we'd do this:
the Items property of your TemplateGalleryList should be set to the following:
Filter(
datasourceName,
IsBlank(TextInputBox.Text)
||
StartsWith(columnName, TextInputBox.Text)
)
This will then not filter if the textInput is blank, but will search for items starting with whatever you are searching for if it contains any text.
Cheers,
Sancho
@iAm_ManCat |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
Hi,
Just cleaning up older unanswered posts,
If anyone arrived here after searching for similar, here's how we'd do this:
the Items property of your TemplateGalleryList should be set to the following:
Filter(
datasourceName,
IsBlank(TextInputBox.Text)
||
StartsWith(columnName, TextInputBox.Text)
)
This will then not filter if the textInput is blank, but will search for items starting with whatever you are searching for if it contains any text.
Cheers,
Sancho
@iAm_ManCat |
Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you! |
Thanks! |
User | Count |
---|---|
253 | |
106 | |
94 | |
50 | |
39 |