Clear filter for single collumn

2 posts, 0 answers
  1. Tim
    Tim avatar
    13 posts
    Member since:
    Dec 2013

    Posted 20 Jan 2014 Link to this post


    I'm using a custom filter for my Grid on one specific collumn.
    Since a have multiple filters on different collumns I would like to be able to clear the active filter for this single collumn.
    I don't want to use dataSource.filter({}); cause this will clear all the active filters.
    Could anyone help me with this?
  2. Dimo
    Dimo avatar
    8443 posts

    Posted 20 Jan 2014 Link to this post

    Hello Tim,

    You can retrieve the applied filters with the filter() method, iterate and modify the object, so that the applied filters for a particular field are removed, and the set the resulting object back to the filter() method.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top