Turn off auto filter on distinct values

3 posts, 1 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 18 Feb 2014 Link to this post


    I have a large GridView with a lot of columns and it is very slow when filtering.
    If I open the filter popup for a column and selects a checkbox in the distinct values list it will automatically filter my grid immediately.
    This will take a couple of seconds and the UI will lock up.

    Instead I would like the user to be able to check several items first, without filtering the grid.
    Then when the user press the Filter button it will do the filtering once.

    I guess this is not simply achieved out of the box, but how much retemplating or modifications do I need to make?
    Is there any behavior or something I can attach?
    Can I easily make my own filtercontrol?

    - Regards,
  2. Answer
    Dimitrina avatar
    3769 posts

    Posted 19 Feb 2014 Link to this post

    Hello Håkan,

    In order to filter only on the Filter button click, you need to set IsFilteringDeferred="True" for the columns.

    Let me know how this works for you.

  3. DevCraft R3 2016 release webinar banner
  4. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 20 Feb 2014 in reply to Dimitrina Link to this post

    Thanks, that was exactly what I needed!

Back to Top