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

how to apply filtering on GridViewMultiComboBoxColumn

1 Answer 198 Views
GridView
This is a migrated thread and some comments may be shown as answers.
neha
Top achievements
Rank 1
neha asked on 23 Jul 2010, 01:01 PM
hello all

Please guide me,how can i apply filtering on GridViewMultiComboBoxColumn with filterdescriptor class.

Warm regards
Neha

1 Answer, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 28 Jul 2010, 03:24 PM
Hi neha,

Thanks for contacting us and for your question.

You can easily apply a filter to a given column in your RadGridView control by using the following code snippet:
FilterDescriptor filterDescriptor = new FilterDescriptor("<name_of_the_column>", FilterOperator.StartsWith, string.Empty);
this.radGridView1.FilterDescriptors.Add(filterDescriptor);

In this way, I will add a filter expression which is based on the StartsWith operation and has its initial value set to an empty string.

You should also set the name of the column which you would like to filter as the first argument in the FilterDescriptor constructor.

I hope this helps.

Do not hesitate to write back if you happen to have further questions on this matter.

Kind regards,
Deyan
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
neha
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or