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

RadGridView with FilterDescriptors

2 Answers 125 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tarcisis
Top achievements
Rank 1
Tarcisis asked on 24 Jan 2012, 03:59 PM
Hi there,


I have a telerik grid with filterable columns (for example image 1).
All i want is: when a open the dialog with grid inside, a field of a column must be selected, (for example image 2).
I tried this:
((RadGridView)myGrid).FilterDescriptors.Add(new Telerik.Windows.Data.FilterDescriptor("NAME", Telerik.Windows.Data.FilterOperator.IsEqualTo, "Chelsea"));


But now i only have one field in the column, but i want all the fields (for example image 3)




Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Rossen Hristov
Telerik team
answered on 24 Jan 2012, 04:05 PM
Hi,

You should use a ColumnFilterDescriptors as described here.

Greetings,

Ross
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Tarcisis
Top achievements
Rank 1
answered on 24 Jan 2012, 08:07 PM
Thanks!!

It works!!!
Tags
GridView
Asked by
Tarcisis
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Tarcisis
Top achievements
Rank 1
Share this question
or