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

Filtering disable.

3 Answers 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 09 Sep 2013, 07:19 AM
Hi,
is there any ability to disable filtering in grid without disabling of filtering popups? I mean I can enter some filtering criteria, but they will not apply to grid.
Thanks.   

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 09 Sep 2013, 08:26 AM
Hi,

In order to disable applying the filter, you can suspend the notifications of the FIlterDescriptors collection.

For example:

public MainPage()
{
    InitializeComponent();
    this.myGrid.FilterDescriptors.SuspendNotifications();
}

Let me know how this works for you.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Pavel
Top achievements
Rank 1
answered on 09 Sep 2013, 09:15 AM
Hello Didie,
actually I want to notify but not apply filters. 
Thanks,
Pavel.
0
Accepted
Dimitrina
Telerik team
answered on 09 Sep 2013, 12:39 PM
Hello Pavel,

I am afraid that this would not be possible.

My guess is that you would like to disable our filtering, but still use the "infrastructure" we have for implementing your own filtering.

If so, then I would suggest you to simply bind RadGridView.ItemsSource to a proper collection that implements IQueryable and RadGridView will transfer its Filtering criteria to your IQueryable where you should do something with it, i.e. get the data form the DB.
This also applies if you use RIA Services and you would like to directly filter on the server. This would be possible using the built-in filtering mechanism. You can check our online demos as an example.

Let me know how this works for you.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Pavel
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Pavel
Top achievements
Rank 1
Share this question
or