This is a migrated thread and some comments may be shown as answers.

Modify filter before sent to server

1 Answer 443 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 28 Jul 2015, 09:39 PM

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?

Thanks,

--Ed

1 Answer, 1 is accepted

Sort by
0
Accepted
Boyan Dimitrov
Telerik team
answered on 30 Jul 2015, 01:39 PM

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.

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Data Source
Asked by
Ed
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or