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

Search Panel and Combo Box Column

1 Answer 345 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 31 May 2017, 06:34 AM

I'm playing around with the developer example projects for the gridview, specifically the "ComboboxColumnItemsSourceBinding", and I enabled the Search Panel on the Gridview where FilterMemberPath is set, but noticed it doesn't search inside the ComboBox Column. If I type for "Webber" in the Search Panel it comes up with nothing.....but the filter control for that column will work.

Is there something I am missing in the demo that I need to add to get this functionality working? Or do I need to go as far as making my own predicate and use FilterDescriptor<T>?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 02 Jun 2017, 02:38 PM
Hello Chris,

Firstly, thank you for your interest in RadGridView.

The searching mechanism of RadGridView is designed to work with the source collection of the control, rather than the one of a given column. If you take a closer look in the referred SDK Example, in order the filtering operation to be able to perform a similar behavior, the FilterMemberPath of the column is used in conjunction with a custom lookup logic. This is done through the DriverName property in the Team object.

As for the searching mechanism, I suggest you reviewing the Search As You Type topic, as the customization capabilities provided by the API are demonstrated in it. Note, that as already mentioned, the  search operation can be performed only over the items present in the source of RadGridView.

Hopefully, this clarifies your concerns. Do let me know in case further assistance is needed.

Regards,
Stefan X1
Progress Telerik
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 allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GridView
Asked by
Chris
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or