Modify filter before sent to server

2 posts, 1 answers
  1. Ed
    Ed avatar
    168 posts
    Member since:
    Sep 2013

    Posted 28 Jul 2015 Link to this post

    When the user filters the data​Source, I would like to modify that filter before it gets sent to the server. Where and how can I do this? I am guessing the data event handler function is an appropriate place, but I tried that and it didn't work for me - I modified the filter and set it using filter(), but then it just resubmits the query and the data event handler is triggered again.

    How can I do this?



  2. Answer
    Boyan Dimitrov
    Boyan Dimitrov avatar
    1968 posts

    Posted 30 Jul 2015 Link to this post

    Hello Ed,


    As it is mentioned in the serverFiltering section you can use the transport.parameterMap option to send the filter option in a different format.


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