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

TextSearch on GridView

3 Answers 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hiroshi
Top achievements
Rank 1
Hiroshi asked on 16 Apr 2014, 09:40 AM
Hello,

I have a datagrid, and I would like to be able to select an item by typing some letters, similar to what does the TextSearch static class of WPF. I would like to be able to specify which property of my view model should be used for this search (ie. like the TextSearch.TextPath attached property). However, nether the WPF TextSearch nor Telerik's TextSearch seems to work, and the GridView does not have the IsTextSearchEnabled property.

Is there a way to easily achieve such behavior? Or should I re-implement it completely myself?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 18 Apr 2014, 08:33 AM
Hi,

I believe that the following SDK example should be similar to the functionality that you require: Locate row as you type. Can you please refer to it and tell us whether such an approach is appropriate for your scenario?

Regards,
Ivan Ivanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Hiroshi
Top achievements
Rank 1
answered on 24 Apr 2014, 09:58 AM
Hello,

Nope, this is not exactly what I want to do. This sample uses a TextBox to search in the grid view. I just want the classic TextSearch feature of WPF. Like in Window Explorer, if you select C:\ and give focus on the listview on the right, if you press P on your keyboard it should select automatically Program Files (or the first folder starting with 'P').

I believe the WPF data grid does not support the WPF TextSearch, so I was wondering if there is a way to have Telerik's TextSearch work with Telerik's GridView.
0
Ivan Ivanov
Telerik team
answered on 29 Apr 2014, 07:55 AM
Hello,

It seems that you are right. Currently we cannot claim support for TextSearch with RadGridView.

Regards,
Ivan Ivanov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Hiroshi
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Hiroshi
Top achievements
Rank 1
Share this question
or