This is a migrated thread and some comments may be shown as answers.

SearchPanel doesn't work with dates or numeric values

1 Answer 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sylvain
Top achievements
Rank 1
Sylvain asked on 03 Jan 2017, 04:20 PM

Hello,

I have a problem with the SearchPanel.

Search as you type doesn't work with dates or numeric values.

You can try with the GridView exemple "Search as you type"

See the attached file plz.

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 05 Jan 2017, 02:32 PM
Hello Gilles,

I am here providing the information I have already provided in the ticket you have raised with us for other members as well.

The behavior you are observing is expected. Generally, when you are searching over your RadGridView for dates/numbers you need to fill in the whole number or date as the operator used in such case is "IsEqualTo". On the other hand, a "Contains" operator is used for searching for string properties.

As for the number being filtered but not highlighted, it is due to the StringFormat that is applied to that column. I suggest you check the "Custom Highlight Column" demo from our SDK Samples Browser. Such custom column is a workaround you can use and add additional elements in a certain column. 

Regards,
Stefan Nenchev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Sylvain
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or