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

[Solved] GroupByExpressions filtering

3 Answers 170 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andres Calvete
Top achievements
Rank 1
Andres Calvete asked on 15 Jan 2010, 10:58 PM
Hello,

Is it possible to have a filter on the GroupByExpressions field. I have a radgrid group by some value and I would like to filter
through that value. Is there any way to accomplish this?


Thank you.

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 19 Jan 2010, 07:45 AM
Hello Andres,

I am not sure if I understand your scenario correctly, but in general you can filter on all the fields that RadGrid is bound to.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Andres Calvete
Top achievements
Rank 1
answered on 19 Jan 2010, 02:30 PM
Thanks Nikolay for the response. What I mean is the following:

In a radgrid following this grouping format:

      Header Column 1         Header Column 2         Header Column 3
__ _ _ _ _ _ _ _
|_ _ _ _ _ _  _ _|------> possible group filter?
> GroupHeader 1
       Item                             Item                              Item
       Item                             Item                              Item
> GroupHeader 2
       Item                             Item                              Item
       Item                             Item                              Item

Is is possible to filter on the GroupHeaders so that I get only the results for that group without the use of a Details table or anything similar? It sounds silly when you can simply expand and collapse the group headers, but in my case each group has so many items that it is a pain to go through the grid and leave the one you need to work with expanded.

Thanks,

Andres

       
0
Nikolay Rusev
Telerik team
answered on 21 Jan 2010, 08:47 AM
Hello Andres,

Lets assume the following scenario your grid has a column with DataField "Field1". After grouping on "Field1" you can filter on that field and RadGrid will have only the items for that group.

I hope this helps.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Andres Calvete
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Andres Calvete
Top achievements
Rank 1
Share this question
or