# DropDownDataGrid Searching

**URL:** <https://forum.radzen.com/t/dropdowndatagrid-searching/6176>\
**Category:** Blazor WebAssembly\
**Created:** [January 1, 2021, 6:46pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176 "2021-01-01T18:46:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://forum.radzen.com/u/Steve)\
**Post date:** [January 1, 2021, 6:46pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/1 "2021-01-01T18:46:26Z")

</div>

This is a very useful control. Is it possible to search all columns ? For example, the salesperson number and salesperson name are columns in the drop down. Users may want to search by either number or name.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 1, 2021, 7:12pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/2 "2021-01-01T19:12:04Z")

</div>

Yep, you can create your own custom filtering similar to our demo:

> **[Blazor DropDownDataGrid | Free UI Components by Radzen](https://blazor.radzen.com/dropdown-datagrid)**
>
> Blazor DropDown component with columns and multiple selection support.

---

<div class="post-metadata">

**Author:** ![Steve](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://forum.radzen.com/u/Steve)\
**Post date:** [January 3, 2021, 3:16pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/3 "2021-01-03T15:16:12Z")

</div>

I am sorry, but I don't see using that example, how to change the incremental search while typing. May I also suggest that searching all columns be the default behavior of this component or at least a property setting?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 3, 2021, 3:36pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/4 "2021-01-03T15:36:55Z")

</div>

I’m afraid that this is the closest option we can offer you at the moment. Search as you type is the default behavior - you do not have to do anything to enable it.

---

<div class="post-metadata">

**Author:** ![Steve](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://forum.radzen.com/u/Steve)\
**Post date:** [January 3, 2021, 9:21pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/5 "2021-01-03T21:21:05Z")

</div>

OK . If I use a template and include the columns that I want to search as one column, I believe I can achieve the results I am looking for. How can I define the template using the Radzen IDE?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 4, 2021, 7:39am UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/6 "2021-01-04T07:39:13Z")

</div>

You can use template designer to define any template in Radzen:

 ![image](https://forum.radzen.com/uploads/default/original/2X/3/35b56f636cf2ed8c1a51f1ad3853e881aa08432d.png)

---

<div class="post-metadata">

**Author:** ![Steve](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://forum.radzen.com/u/Steve)\
**Post date:** [January 4, 2021, 9:07pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/7 "2021-01-04T21:07:28Z")

</div>

Wow, that sounds really awesome. However, I am unsure of exactly which properties to set an how to reference the values. I tried multiple ways with no success. Is there an example of this in a demo using the IDE somewhere?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 4, 2021, 9:10pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/8 "2021-01-04T21:10:38Z")

</div>

Maybe this article will help you:

> **[Templates (Blazor) (Blazor)](https://www.radzen.com/documentation/blazor/templates/)**
>
> Customizing component appearance via templates in Radzen Blazor applications

---

<div class="post-metadata">

**Author:** ![Steve](https://forum.radzen.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@Steve](https://forum.radzen.com/u/Steve)\
**Post date:** [January 4, 2021, 11:31pm UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/9 "2021-01-04T23:31:12Z")

</div>

I'm sorry enchev. I still not getting it. I am trying to do something like this from your docs, but I can't figure out how to use the IDE template to reference the data to use in the column. I would like to combine two columns from the look up table into one column.

 ![image](https://forum.radzen.com/uploads/default/original/2X/4/4898c8c9177cbf655f720b48c18cb667c298f34b.png)

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 5, 2021, 5:14am UTC](https://forum.radzen.com/t/dropdowndatagrid-searching/6176/10 "2021-01-05T05:14:29Z")

</div>

You have two options:

- use two separate components next to each other in the template (for example Label) and set the Text property using the binding picker to desired field from the data context.
- use single component (again Label for example) and write complex expression for the Text property again using binding dialog

I strongly suggest you to check the following article:

> **[Expressions (Blazor)](https://www.radzen.com/documentation/blazor/expressions/)**
>
> Working with expressions in Radzen Blazor applications.

  

> **[Properties (Blazor)](https://www.radzen.com/documentation/blazor/properties/#display-property-value)**
>
> Storing data in page properties, capturing user input, get data from a database.
