5
votes

Is there a way to define the parameterMap option for a Kendo UI Grid via the server side ASP.NET MVC wrappers?

I need to change local time into UTC time before sending up a filter command to the server, and this appears to be the only way to do it.

1

1 Answers

2
votes

Sort of...

You can specify a string as the parameterMap setting, and this string can either be a JavaScript function directly, or the name of a JavaScript function that is found on the page.

.parameterMap("myParamMapFunction");

or

.parameterMap("function(data){ /* do stuff with the data */}");