Filtering disable.

4 posts, 1 answers
  1. Pavel
    Pavel avatar
    10 posts
    Member since:
    Feb 2013

    Posted 09 Sep 2013 Link to this post

    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.   
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 Sep 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Pavel
    Pavel avatar
    10 posts
    Member since:
    Feb 2013

    Posted 09 Sep 2013 Link to this post

    Hello Didie,
    actually I want to notify but not apply filters. 
    Thanks,
    Pavel.
  5. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 Sep 2013 Link to this post

    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 >>
Back to Top