# How to make the search bar work?

**URL:** <https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [October 14, 2022, 7:42pm UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505 "2022-10-14T19:42:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhanushan48608nkfw](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dhanushan48608nkfw](https://community.thunkable.com/u/dhanushan48608nkfw)\
**Post date:** [October 14, 2022, 7:42pm UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/1 "2022-10-14T19:42:25Z")

</div>

This is from my app, I want to filter the data of the DVL when the user types what he/she wants. How can I do it?  
 ![image_2022-10-15_011240257](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/9066156664bb7dc88584f993a649a82e5fd3a3a2.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 14, 2022, 8:15pm UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/2 "2022-10-14T20:15:39Z")

</div>

There are some examples of this if you search the forums (or Google with the word _Thunkable_ in the search terms) for _filter DVL_.

The basic idea is that Data Viewers simply display whatever data is in a data source. So there’s not a whole lot you can do “with the DVL” to filter data. What I do is to use two data sources: one for the content and one for the search results. When the text input changes, I delete all of the rows from the search result data source and then I loop through the content data source rows and any of the rows/cells that contain the text input get added to the search result data source as a new (create) row. So I’m displaying the search results in the DVL, not the content data.

---

<div class="post-metadata">

**Author:** ![dhanushan48608nkfw](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dhanushan48608nkfw](https://community.thunkable.com/u/dhanushan48608nkfw)\
**Post date:** [October 15, 2022, 2:50am UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/3 "2022-10-15T02:50:03Z")

</div>

thank you, I never thought about it in this way, Can you share any example project links?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 15, 2022, 3:19am UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/4 "2022-10-15T03:19:46Z")

</div>

Like I said, start with searching and if you need help then post a screenshot of what you’ve tried and explain what does/does not work.

If you’re new to Thunkable, I wouldn’t start with this. It’s a pretty complicated set of blocks to understand and troubleshoot.

---

<div class="post-metadata">

**Author:** ![dhanushan48608nkfw](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dhanushan48608nkfw](https://community.thunkable.com/u/dhanushan48608nkfw)\
**Post date:** [October 15, 2022, 3:33am UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/5 "2022-10-15T03:33:15Z")

</div>

Thanks, I’ll do it, I’m not new, no worries

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [October 15, 2022, 12:17pm UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/6 "2022-10-15T12:17:00Z")

</div>

See my example  
[https://x.thunkable.com/projectPage/6182dddab8ae1a001142ac60](https://x.thunkable.com/projectPage/6182dddab8ae1a001142ac60)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [January 13, 2023, 12:17pm UTC](https://community.thunkable.com/t/how-to-make-the-search-bar-work/2083505/7 "2023-01-13T12:17:20Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
