Global search

Hi I am new to radzen and playing around with it at the moment.
I have a data room functionality i am working on which acts like a OS file system ( think of drobox, google drive).
I need to create a global search functionality for my datagrid, searching/filtering the table works as i need it to, but i want a functionality, when the user searches on the global search input box, my table should show the file path rather than the name of the file. what is the best way to approach this in radzen ? Thank you .

There is a template in Radzen Blazor Studio for global search:

The code is fairly simple and can be written manually:

<RadzenTextBox @oninput="@Search"  />
...
<RadzenDataGrid @ref="grid0" Data="@orders">
protected async Task Search(ChangeEventArgs args)
{
            search = $"{args.Value}";

            await grid0.GoToPage(0);

            // Your filter goes here
            orders = await SampleService.GetOrders(new Query { Filter = $@"i => i.UserName.Contains(@0)", FilterParameters = new object[] { search } });
}

Thanks to this I have what I need for the most part, need to get the execution right.
What is the best practice if I need to point the original grid Data to a different object of the same type?

for instance
if my textbox is empty Data is orders
else , Data is order#2

I think using and ILIst did the job :slight_smile: :slight_smile: