Datasource server-client mixed filtering

2 posts, 0 answers
  1. Emanuele Zambrano
    Emanuele Zambrano avatar
    21 posts
    Member since:
    Dec 2009

    Posted 28 Jul 2013 Link to this post

    Can I server side filter a datasource for one field and client filter the datasource for others field ?

    Something like this:

    filter: {
                                filters: [
                                    { field: "showHiddenFiles", value: false, serverFilter: true },
                                    { field: "name", value: "mike", serverFilter: false }
                                ]
                            }
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 29 Jul 2013 Link to this post

    Hi Emanuele,

    Using different filtering in the DataSource configuration is not a supported functionality. However you can filter the DataSource using the filter configuration, and after that using the Kendo UI API you can apply additional filters later on. 

    For your convenience here is a jsBin example which demonstrates a possible implementation.
     
    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top