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

[Solved] GridViewComboBoxColumn

4 Answers 156 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phillip Garrett
Top achievements
Rank 1
Phillip Garrett asked on 25 Aug 2010, 12:28 PM
Hi,

I've followed your documentation on GridViewComboBoxColumn here:
http://www.telerik.com/help/silverlight/radgridview-columns-column-types-combobox-column.html

This works, however I would like to filter, sort and group by DisplayMemberPath value rather than the DataMemberBinding value.

In your example clicking filter on the Country column header would filter on CountryId (a collection of numbers). How do I get the filter to pick up the DisplayMemberPath values (a collection of strings)?

Thank You
Phill

4 Answers, 1 is accepted

Sort by
0
Phillip Garrett
Top achievements
Rank 1
answered on 25 Aug 2010, 01:29 PM
0
Accepted
Maya
Telerik team
answered on 25 Aug 2010, 02:11 PM
Hi Phillip Garrett,

Indeed for the time being that is the recommended way of filtering a GridViewComboBoxColumn. Another possible approach may be to use the DistinctValuesLoading and Filtering events of the grid and set the values to be shown inside the UI of the filter and those the filtering to be performed on. You can read a bit more about this workaround in this forum thread.
However, I would suggest you to use the one described in the blog post.

Regards,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Phillip Garrett
Top achievements
Rank 1
answered on 27 Aug 2010, 10:11 AM
Thanks,

Does this mean there is a GridViewComboBoxColumn filtering improvement in the pipe-line?
(i.e. to avoid custom filtering controls or event handling)

Regards,
Phill
0
Maya
Telerik team
answered on 27 Aug 2010, 01:26 PM
Hi Phillip Garrett,

The recommended mechanism for filtering a GridViewComboBoxColumn represents mainly forcing that column to be filtered by means of external additional code. However, implementing that functionality is in our to-do list and we are investigating the best possible approach for including it in the grid.
 

Sincerely yours,
Maya
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Phillip Garrett
Top achievements
Rank 1
Answers by
Phillip Garrett
Top achievements
Rank 1
Maya
Telerik team
Share this question
or