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

Have manual Filter and context menu filter in the same rad grid

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 08 Sep 2020, 01:31 PM

Hi 

On top of page I have got checkboxes which filter some of columns on the grid but also I got context menu on the other columns in the grid. 

I was wondering can you have both type of filters on a page? Is there way of clearing of filter expression in rad grid?

Alex

1 Answer, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 11 Sep 2020, 09:02 AM

Hi Alex,

In general, combining the built-in filtering functionality of the RadGrid with custom filtering initiated by external control could be really complex scenario to achieve. When the built-in filtering is used it sets the filter expression based on the filter values and filter functions set for each column in the RadGrid, taking additional filtering rules into consideration could be tricky.

Could you please elaborate more on the current scenario? How is the filtering by the checkboxes performed?

It would be helpful if you share the markup declaration of the RadGrid and the Checkboxes in question together with the related code-behind logic, so that we have a better overview of the case. 

Concerning clearing the applied filters in RadGrid you can try the approach demonstrated in the How to clear RadGrid filters article.

Kind regards,
Doncho
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Doncho
Telerik team
Share this question
or