Duplicated
Last Updated: 06 Oct 2020 11:22 by ADMIN
Maurice
Created on: 06 Oct 2020 09:22
Category: UI for Blazor
Type: Feature Request
2
GridSearchBox also search in int values instead of only strings

https://docs.telerik.com/blazor-ui/components/grid/filtering?_ga=2.198924911.1399219233.1601890390-1967950312.1584602021#toolbar-search-box

You can add a search box in the grid toolbar that lets the user type their query and the grid will look up all visible string columns with a case-insensitive Contains operator, and filter them accordingly. You can change the filter delay, and the fields the grid will use - see the Customize the SearchBox section below.

-----

I have an int and a string field and would love to be able to let the user search in both at the same time.

 

Workaround is now:

public int number {get; set;}

public string numberString => number.ToString();

public string name {get; set;}

 

But I would love to see it without the need to use the numberString

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Marin Bratanov
Posted on: 06 Oct 2020 11:22

Hi Maurice,

You can Follow that here: https://feedback.telerik.com/blazor/1485012-allow-searchbox-to-work-with-other-data-types. I've also added your vote to that original item, and I am marking this one as a duplicate to keep the portal tidy.

 

Regards,
Marin Bratanov
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive, special prizes, and more, for FREE?! Register now for DevReach 2.0(20).